syslog-ng-2.0.7-1.i686 reload (th)
Elan Ruusamäe
glen at delfi.ee
Wed Mar 19 19:53:30 CET 2008
SYSLOG-NG(8) :
The configuration file is read at startup and is reread after receipt of a hangup (HUP) signal. When
reloading the configuration file, all destination files are closed and reopened as appropriate. For more
information about the configuration file, see syslog-ng.conf(5).
however:
20:52:33 root[pts/4]@ravenous /etc# lsof -c syslog-ng|grep /var/log
syslog-ng 2865 root 6w REG 3,2 1182406 394881 /var/log/archive/messages-20080310 (deleted)
20:53:02 root[pts/4]@ravenous /etc# kill -HUP `cat /var/run/syslog-ng.pid `
20:53:03 root[pts/4]@ravenous /etc# lsof -c syslog-ng|grep /var/log
syslog-ng 2865 root 6w REG 3,2 1182620 394881 /var/log/archive/messages-20080310 (deleted)
i have always hated when logrotate process makes syslogging to deleted files ;(
--
glen
More information about the pld-devel-en
mailing list