> On the Red Hat system /var/lib/logrotate.status has maillog in it.
> So I guess the realy problem is logrotate isn't rotating
> my /var/log/maillog, and not what I originally asked. ;<
I just discovered /etc/logrotate.d/syslog-ng. I changed it to:
---
#
$Header:
/var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate,v 1.2
2004/07/18 02:25:02 dragonheart Exp $
#
# Syslog-ng logrotate snippet for Gentoo Linux
# contributed by Michael Sterrett
#
/var/log/maillog /var/log/syslog /var/log/daemon.log /var/log/cron.log
/var/log/auth.log /var/log/user.log /var/log/kern.log /var/log/lpr.log
/var/log/debug /var/log/messages {
sharedscripts
postrotate
/etc/init.d/syslog-ng reload > /dev/null 2>&1 || true
endscript
}
---
Hopefully this will take care of it. Now the original question: How
can I make sure the 'weekly' logrotate happens on Sunday morning and not
Monday, Tuesday, etc.?
Chris
--
[email protected] mailing list