[nsd-users] logfile empty after logrotate
Jaap Akkerhuis
jaap at NLnetLabs.nl
Wed Oct 13 08:30:08 UTC 2010
[found in a spam trap].
Hi,
I setup nsd to log i a separate logfile. I also setup logrotate.
After logrotate moved away the old logfile it sends a SIGHUP
killall -HUP nsd
But the logfile is not reopend by nsd.
How do I setup a daily rotated log ?
I also tried to run nsd nonforking with -d and get the log from stderr
This works as long nsd is a master
If nsd is setup as slave and receive an update from the master
then i found new nsd processes which are no longer childs of
the nsd -d process...
This makes it difficult to run nsd nder control of a supervisor
like djb's daemontools or runit
Thanks
Andreas
--
########################################################################
#
# Andreas Schulze
# https://andreasschulze.de
#
# GnuPG Key-ID: A7DBA67F, https://andreasschulze.de/sca.asc
# GnuPG Fingerprint: 14C1 39A8 CE6D 6BE0 28C6 5652 03B5 6793 A7DB A67F
#
# $Id: .signature,v 1.3 2007-12-27 21:13:36 sca Exp $
########################################################################
More information about the nsd-users
mailing list