[Nolug] Squid Logfile Rotation

From: Roetto Mike B CONT SSGC <RoettoMB_at_SUPSHIP.NAVY.MIL>
Date: Mon, 2 Aug 2004 09:44:08 -0500
Message-ID: <0918BEB5200DD311ACFE0008C7391B11029CBEDA@ssnoexch.ssno.nola.navy.mil>

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:

####
weekly
rotate 12
create
include /etc/logrotate.d
/var/log/wtmp {
    monthly
    create 0664 root utmp
    rotate 1
}
####

and here's the contents of /etc/logrotate.d/squid:
####
/var/log/squid/access.log {
    monthly
    rotate 12
    copytruncate
    compress
    notifempty
    missingok
}
    postrotate
      /usr/sbin/squid -k rotate
    endscript
}
####

Now, I have another squid machine ,much smaller, with the same config, its
logfile only grows to about 60m or so, and these rotate fine.

Is there's some mysterious file size limit I don't know about that's making
it not rotate? All the other system logs are rotating fine.

Any other ideas I could take a look at? Platform is RedHat 9.

Many thanks in advance,
-mike

..........................................
Mike Roetto
AAC Inc., Network Administrator
New Orleans, LA

"A flute with no holes is not a flute,
A doughnut with no hole is a danish"
                      -Chevy Chase
..........................................
___________________
Nolug mailing list
nolug@nolug.org
Received on 08/02/04

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