Bug 2758 - Squid won't rotate logs
Summary: Squid won't rotate logs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: squid
Version: 5.1
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-05-12 12:22 UTC by harisk
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 1999-05-12 15:01:10 UTC
Embargoed:


Attachments (Terms of Use)

Description harisk 1999-05-12 12:22:10 UTC
Rpm squid-1.1.21-5 is missing the file
/etc/logorotate.d/squid

A sample file would be (converted apache logorotate conf)
/var/log/squid/access.log {
    postrotate
        /usr/bin/killall -HUP squid
    endscript
}

/var/log/squid/cache.log {
    postrotate
        /usr/bin/killall -HUP squid
    endscript
}

/var/log/squid/store.log {
    postrotate
        /usr/bin/killall -HUP squid
    endscript
}


Hope i was helpfull
           Haris Koutsouris
                 harisk

Comment 1 Bill Nottingham 1999-05-12 15:01:59 UTC
this was fixed in later squid releases, such as the one for 6.0


Note You need to log in before you can comment on or make changes to this bug.