logrotate maillog

Elan Ruusamäe glen at delfi.ee
Sun Nov 6 16:56:30 CET 2005


On Sunday 06 November 2005 15:09, Tomasz Pala wrote:
> I've got:
>
> /var/log/maillog {
>         delaycompress
>         create 640 root logs
>     postrotate
>         /etc/rc.d/init.d/syslog-ng reload >/dev/null 2>&1
>     endscript
> }
>
> in /etc/logrotate.d/syslog-ng, but after every rotation maillog is 600
> root:root. Any ideas why?
maybe new log is created by syslog-ng, not logrotate?
remove the delaycompress?
run your logrotate process with -v option, that should reveal what's going on

-- 
glen



More information about the pld-devel-en mailing list