Re: Logrotate problems

2006-08-15 Thread Florian Kulzer
On Tue, Aug 15, 2006 at 14:14:28 +0200, Martin wrote: > Florian Kulzer wrote: > > >You can run > > > >/usr/sbin/syslogd-listfiles --all > > > >to get a list of all log files that are under the control of sysklogd. > > > >If you want to change the behavior you have to look at > > > >/etc/cron.daily

Re: Logrotate problems

2006-08-15 Thread Martin
Florian Kulzer wrote: You can run /usr/sbin/syslogd-listfiles --all to get a list of all log files that are under the control of sysklogd. If you want to change the behavior you have to look at /etc/cron.daily/sysklogd /etc/cron.weekly/sysklogd The relevant lines in these two scripts are:

Re: Logrotate problems

2006-08-15 Thread Florian Kulzer
On Tue, Aug 15, 2006 at 11:55:38 +0200, Martin wrote: > Kevin Coyner wrote: > > >Try it as follows: > > > >/var/log/mail.log { > >weekly > >nocompress > >rotate 4 > >missingok > >create 640 root adm > >postrotate > >#reload syslog > >

Re: Logrotate problems

2006-08-15 Thread Martin
Kevin Coyner wrote: Try it as follows: /var/log/mail.log { weekly nocompress rotate 4 missingok create 640 root adm postrotate #reload syslog /etc/init.d/sysklogd reload #reload postfix /etc/init.d/postfix reload

Re: Logrotate problems

2006-08-11 Thread Martin
Kevin Coyner wrote: Try it as follows: /var/log/mail.log { weekly nocompress rotate 4 missingok create 640 root adm postrotate #reload syslog /etc/init.d/sysklogd reload #reload postfix /etc/init.d/postfix reload

Re: Logrotate problems

2006-08-10 Thread Kevin Coyner
On Thu, Aug 10, 2006 at 08:40:47AM +0200, Martin wrote.. > I'm seeing some odd behaviors when rotating maillogs. > > I have the following settings for the maillog: > > # vi /etc/logrotate.d/postfix > > /var/log/mail.log { > rotate 4 > missingok > create 640 root ad

Logrotate problems

2006-08-10 Thread Martin
Hi, I'm seeing some odd behaviors when rotating maillogs. I have the following settings for the maillog: # vi /etc/logrotate.d/postfix /var/log/mail.log { rotate 4 missingok create 640 root adm postrotate #reload syslog /etc/init.d/sysklogd reloa