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