On Jul 29, 2013, at 3:09 PM, Christoph Anton Mitterer <[email protected]> 
wrote:
> Is there a clean way to have bind9 reopening it's logfiles, in order to
> allow clean log rotation?

No.

> If not, could that be implemented?

Send a feature request to ISC, or write it in yourself and maintain a patch.

Of course you know logrotate can truncate files rather than renaming them, 
after first copying their contents, but this leaves a small window for lost log 
messages.

You can also configure logrotate to work with the inactive log files created by 
BIND's own logging facility. That is, let BIND write and rotate log files, but 
then process them with logrotate afterward.

Another option is to send all log messages through syslog, which allows for:

- asynchronous (batched) file writing
- all kinds of other, more advanced features that BIND doesn't support natively

Regards,
Chris Buxton
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to