[squid-users] time relationship between access.log and cache.log

From: Luis Daniel Lucio Quiroz <luis.daniel.lucio_at_gmail.com>
Date: Tue, 22 Sep 2009 18:04:44 -0500

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
Received on Tue Sep 22 2009 - 23:05:04 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 23 2009 - 12:00:03 MDT