[mythtv-users] Logrotate settings for mythbackend.log?
Robert Tsai
rtsai1111 at comcast.net
Sat Jan 14 15:28:19 UTC 2006
On Sat, Jan 14, 2006 at 08:46:16AM -0500, Joseph A. Caputo wrote:
> Adam Bodnar wrote:
> > Just a thought, but could be part of the reason it's not working
> > is caue you have it set to rotate at 100 megs?
> >
> > Mine is set to:
> >
> > /var/log/mythtv/mythbackend.log {
> > notifempty
> > missingok
> > compress
> > compresscmd /usr/bin/bzip2
> > uncompresscmd /usr/bin/bunzip2
> > compressext .bz2
> > weekly
> > rotate 4
> > size 10M
> > }
> >
> > and my log is only 3 megs and been running since July of 2005. So
> > unless you have alot of output, I don't think you'd hit that 100
> > megs anytime soon.
> >
> > Don't quote me on this though.
> >
>
> I forgot to mention that the offending logfile is now > 400MB and
> growing...
You could try running manually:
logrotate -d -v -s /var/lib/logrotate/status logrotate.conf
and it will tell you why it thinks something doesn't need to be
rotated.
Substitute /var/lib/logrotate/status (breezy) with the path to your
distribution's system logrotate.status file.
--Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20060114/071c76f6/attachment.pgp
More information about the mythtv-users
mailing list