[syslog-ng]logrotate

Mark Ultor syslog-ng@lists.balabit.hu
Thu, 24 Apr 2003 20:53:12 +0700


Hi all,

I'm just wondering why I have to restart syslog-ng after logrotate ? If I
can do echo -n > /var/log/messages and everything works fine then why
logrotate can not do it ?

I believe that if I restart syslog-ng there is potential risk of loosing one
line of logs, when syslog-ng is down. I assume it is better not to restart
it then. Am I thinking correct or not ?

Thank you.

M.