Re: [squid-users] About rotating logfile

From: Hwee Khoon, Neo <hweekhoon.neo@dont-contact.us>
Date: Wed, 24 Dec 2003 11:16:42 +0800

I suspect this could be what's inside your squid.conf....

cache_access_log /usr/local/squid/var/logs/cache.log

show us your contab, it would be useful in troubleshooting

nhk

----- Original Message -----
From: "aqil" <aqil@indosat.net.id>
To: <squid-users@squid-cache.org>
Sent: Tuesday, December 23, 2003 5:13 PM
Subject: [squid-users] About rotating logfile

> In my crontab, I am rotating my logfile at each midnight. My question
> is why does squid create 2 cache.log files each day. One of them is of big
> size and the other is much smaller.
>
> -rw-r--r-- 1 nobody root 54455148 Dec 12 23:59 cache.log.21
> -rw-r--r-- 1 nobody root 3462 Dec 12 15:20 cache.log.22
> -rw-r--r-- 1 nobody root 40155356 Dec 11 23:59 cache.log.23
> -rw-r--r-- 1 nobody root 1834 Dec 11 07:14 cache.log.24
>
> If logfiles are rotated just once per day, shouldn't squid make only 1
> cache log file, in my case at 00:00 ? For monitoring purpose I need
> squid to generate only 1 file a day...
>
> TIA
> aqil
>
Received on Tue Dec 23 2003 - 20:16:56 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:26 MST