[squid-users] About rotating logfile

From: aqil <aqil@dont-contact.us>
Date: Tue, 23 Dec 2003 16:13:54 +0700

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 - 02:02:45 MST

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