[nsd-users] Log file rotation

Wilson Rogerio Lopes wilson at registro.br
Fri Aug 28 16:41:00 UTC 2009


On Fri, Aug 28, 2009 at 08:35:13AM +0200, Matthijs Mekking wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Wilson,
> 
> File rotation is automatically enabled if you don't use chroot, or the
> nsd.log file is within the chroot. If enabled, it tries to reopen the
> nsd.log file (and thus if another program or user moved it, a new
> nsd.log is started).

Hum...

I changed the log file configuration to file in chroot dir and when renames nsd.log,
a new nsd.log is created by nsd program.

Thanks for tip.


Wilson.



> 
> You say this required a daemon hungup. Do you mean the NSD daemon? Could
> you be more specific?
> 
> Best regards,
> 
> Matthijs Mekking
> NLnet Labs
> 
> Wilson Rogerio Lopes wrote:
> > Hi all,
> > 
> > 
> > I'm using a script on cron to rotate nsd.log file. This require a daemon hungup..
> > 
> > 
> > Changelog of 3.2.1 version show
> > 
> > "FEATURES:
> > - Allow file rotation on nsd.log."
> > 
> > 
> > How it work ? Is this configurable in nsd.conf ? 
> > 
> > 
> > Thanks,
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iQEcBAEBAgAGBQJKl3qcAAoJEA8yVCPsQCW5TB0IAMHZEPx/XYP11i5ZeplM2oh/
> l3Wwt0Oik50icEZv5E+pHljo3lbTghDMe3KQ78tvu9HB5xRiTxCKf5QluzbLFELJ
> I2r0aWSifqmLuE7OaeY7fMA5DmHFABOXp4VhFiFAd8HSSFdn8UP8PBMWifwulGZB
> 77c9F4PCPO8Q2811OceyQ/IpSoynHeJL93LzgkKsQuksB2GO1FXNHedxBNqfHMzM
> /nZID/uj0Di5bTjaJlF8FzdzKSXqY7Q9dnR6Tdx6959pZyFwrBbw6/TjoHsVMqGh
> AiWFr2ScD+NzkSzF/saEzAgVfFnXv2V6ymGGlbpzvRsfrSA6jAmCBOjmnrpTS94=
> =0bmq
> -----END PGP SIGNATURE-----

-- 
Wilson Lopes 
Registro .BR
(11) 5509 - 3526
INOC 22548*WRL




More information about the nsd-users mailing list