RE: [Nolug] Squid Logfile Rotation

From: Robert Cochran <rcochran_at_archdiocese-no.org>
Date: Tue, 3 Aug 2004 07:58:42 -0500
Message-ID: <MMEPLOHDJOCOLLEIEAPOAEDNEHAA.rcochran@archdiocese-no.org>

>Tim Kelley wrote:
>> On Monday 02 August 2004 09:44, Roetto Mike B CONT SSGC wrote:
>>
>>>I'm having trouble getting my squid logs to rotate.
>>>
>>>I've been instructed to rotate the logs monthly (don't ask), and each log
>>>becomes huge (~1.8gb) , and the logs are refusing to rotate.
>>>
>>>here's the contents of /etc/logrotate.conf:
>>
>>
>> when you run logrotate on it manually, does it work? If not, what does
it
>> complain about? Is disk space an issue?
>>
>> There doesn't seem to be anything amiss in the conf file ...

>That's a good idea. Run /etc/cron.daily/logrotate (or whatever your
>daily logrotate cron job is) and see if you get an error output. Make
>sure that mail to "root" and "postmaster" on your machine goes somewhere
>as you may have cron error output in /var/mail/root that you're not seeing

Squid also has a command to rotate log files squid -k rotate. Also, if you
are not monitoring
the logs you turn logging off till you need it.

--
Scott Harney<scotth@scottharney.com>
"Asking the wrong questions is the leading cause of wrong answers"
gpg key fingerprint=7125 0BD3 8EC4 08D7 321D CEE9 F024 7DA6 0BC7 94E5
___________________
Nolug mailing list
nolug@nolug.org
MessageLabs Virus Scanning Service for the Archdiocese of New Orleans.
___________________
Nolug mailing list
nolug@nolug.org
Received on 08/03/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST