[squid-users] Squid logrotate - Howto??

From: <[email protected]>
Date: Mon, 17 Nov 2003 15:56:38 -0500

Hey folkes,

I have a question again. I want to set up a logrotation for squid on Redhat 9.
I created a file /etc/logrotate.d/squid with the following content:

/usr/local/squid/var/logs/access.log {
               daily
               rotate 14
               copytruncate
               compress
               notifempty
               missingok
               }
               /usr/local/squid/var/logs/cache.log {
               daily
               rotate 14
               copytruncate
               compress
               notifempty
               missingok
               }

               /usr/local/squid/var/logs/store.log {
               daily
               rotate 14
               copytruncate
               compress
               notifempty
               missingok
               postrotate
               /usr/local/squid/sbin/squid -k rotate
               endscript
               }

But the rotation didn't work. I would like the rotation to start daily at midnight.
What did I make wrong? Or is there anything else to configure what I forgot?
Thanks in advance!

Regards,
Tommy

Hansgrohe, Inc.
Information Service
1492 Bluegrass Lakes Parkway
Alpharetta, GA 30004
phone (+001) 678 - 762 - 6994
Received on Mon Nov 17 2003 - 13:59:23 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:21 MST