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
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:
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
> >
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
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
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
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
7 matches
Mail list logo