Search squid archive

time relationship between access.log and cache.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Squids,

Well, I dont know if this a already discussed topic.  Because we are having 
many squid-reboots we need to know what users were doing.

In my cache.log I have this:
 2009/09/15 23:55:22| Ready to serve requests.
FATAL: Received Segment Violation...dying.

I'm using the line just before the "dying" message to know hour.
Then I know in access.log first line is time in epoch format.  However, after 
converting cache.log time with this code (perl):
my $time = timelocal($sec,$min,$hours,$day,$month -1,$year-1900); 

I'm unable to find that time in access.log.

Am I missing something?

TIA

LD

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux