Bug 2758 - Squid won't rotate logs
Squid won't rotate logs
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: squid (Show other bugs)
5.1
i386 Linux
medium Severity low
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-12 08:22 EDT by harisk
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-05-12 11:01:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description harisk 1999-05-12 08:22:10 EDT
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@terra.gr
Comment 1 Bill Nottingham 1999-05-12 11:01:59 EDT
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.