logrotate maillog

Jacek Konieczny jajcus at jajcus.net
Mon Nov 7 08:48:19 CET 2005


On Sun, Nov 06, 2005 at 11:34:46PM +0100, Paweł Gołaszewski wrote:
> On Sun, 6 Nov 2005, Jacek Konieczny wrote:
> > > > 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?
> > Yes, it is. And syslog-ng should also be configured to set right 
> > permissions.
> 
> BTW - using syslog-ng there can be logrotate really removed. He takes care 
> of rotation. I don't know if he removes old logs, but not everyone wants 
> this.

And syslong-ng may name files in a sane way. logrotate makes things like
incremental backups very complicated. Unfortunately it is needed for
things not handled by syslog-ng :-(

Greets,
        Jacek



More information about the pld-devel-en mailing list