[syslog-ng]Syslog-ng log file rollover question
scott
syslog-ng@lists.balabit.hu
Thu, 02 Dec 2004 13:33:20 +1000
> Does anyone know how to do it or figure out what I have done wrong? Or
> does syslog-ng support the log file rollover?
Most programs don't rotate logs. The usual Unix way is to send the
process a SIGHUP, and it will close and reopen its log file (as well as
re-read its config file).
There's no accuracy guarantee though, and done every minute will put a
lid on performance. You're better off post-processing it into single files.
--
() ASCII Ribbon Campaign
/\ against HTML email