Bug 2758

Summary: Squid won't rotate logs
Product: [Retired] Red Hat Linux Reporter: harisk
Component: squidAssignee: David Lawrence <dkl>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 5.1CC: harisk
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-05-12 15:01:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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