logrotate and killall -HUP syslog-ng
Hello, I am testing syslog-ng 1.4.14 and 1.5.15 on Redhat 6.2 with SOCK_DGRAM. In both version, each times I send SIGHUP to syslog-ng, syslog-ng lost kernel packet. I can execute "/etc/rc.d/init.d/syslog-ng restart" instead of "killall -HUP syslog-ng" in logrotate configuration file but this solution requires restart syslog-ng deamon for each logfile rotated :-( Thx. -- Jerome Peducasse
On Tue, Mar 05, 2002 at 02:41:17PM +0000, Jerome Peducasse wrote:
Hello,
I am testing syslog-ng 1.4.14 and 1.5.15 on Redhat 6.2 with SOCK_DGRAM. In both version, each times I send SIGHUP to syslog-ng, syslog-ng lost kernel packet. I can execute "/etc/rc.d/init.d/syslog-ng restart" instead of "killall -HUP syslog-ng" in logrotate configuration file but this solution requires restart syslog-ng deamon for each logfile rotated :-(
does syslog-ng read /proc/kmsg on its own or you are using klogd? -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
On Tue, Mar 05, 2002 at 07:46:39PM +0100, Balazs Scheidler wrote:
On Tue, Mar 05, 2002 at 02:41:17PM +0000, Jerome Peducasse wrote:
Hello,
I am testing syslog-ng 1.4.14 and 1.5.15 on Redhat 6.2 with SOCK_DGRAM. In both version, each times I send SIGHUP to syslog-ng, syslog-ng lost kernel packet. I can execute "/etc/rc.d/init.d/syslog-ng restart" instead of "killall -HUP syslog-ng" in logrotate configuration file but this solution requires restart syslog-ng deamon for each logfile rotated :-(
does syslog-ng read /proc/kmsg on its own or you are using klogd? I'm using klogd.
-- Jerome Peducasse
participants (2)
-
Balazs Scheidler
-
Jerome Peducasse