On Sun, 2006-12-24 at 12:07 +0100, RedShift wrote:
> Hello all
> 
> I just uncovered some secret plot against me by the government. It 
> appears after logrotate runs every week, instead of logging continuing 
> with the newly logfiles, it continues to log to the rotated files!
> 
> Example:
> 
> we have auth.log
> after logrotate this becomes auth.log.1
> a new empty file auth.log is created
> logging continues on auth.log
> 
> What's happening?
> we have auth.log
> after logrotate this becomes auth.log.1
> a new empty file auth.log is created
> logging continues on auth.log.1
> auth.log remains empty.
> 
> syslog-ng and logrotate configuration haven't been altered from the default.
> 
> 
> Any ideas on how to resolve this?

Yes, syslog-ng should get kicked after rotation. Without a kill -HUP it
will keep the filedescriptors opened to the rotated file.


_______________________________________________
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to