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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>

Reply via email to