Add support for external log rotation tools
Tools like log rotate
need to be able to tell named to close the log files. Add rndc closelogs
to close currently open log file.
The operational sequence would be 1) rename the log files, 2) call rndc closelogs
, 3) compress the log files.
Named will reopen the files the next time there is a message to be logged.