[syslog-ng]syslog-ng and logrotate

William Rhodes syslog-ng@lists.balabit.hu
Thu, 28 Aug 2003 09:09:00 -0500


Had the same problem and found that syslog-ng has a problem with the kill
-HUP that logrotate uses. I replaced that command with
/etc/rc.d/init.d/syslog-ng reload   and all works fine with no problems.

William


-----Original Message-----
From: yannick.haguenier@tuxfamily.org
[mailto:yannick.haguenier@tuxfamily.org] 
Sent: Thursday, July 10, 2003 3:57 AM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]syslog-ng and logrotate




Hy,
i have squid + syslog-ng 1.0.6.rc1
Syslog-ng look squid/access.log, and write log file (with date format) on a 
remote server (tcp).
On squid there is a logrotate at 6 am.
My pb :
before the log rotate, all is good. After logrotate, syslog-ng don't write
in 
the remote file.
The last line appear in this file was create at 6am.
The process run on the both server, and i have no error.
If i run syslog-ng restart, syslog-ng write the ligne in remote file . the
next error appear after the next logrotate.

Does anyone know why this is happening?

thanks
_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html