roles/named: Send application logs to syslog

BIND sends its normal application logs (as opposed to query logs) to the
`default_debug` channel.  By sending these log messages to syslog, they
can be routed and rotated using the normal system policies.  Using a
separate dedicated log file just ends up consuming a lot of space, as it
is not managed by any policy.
jenkins-master
Dustin 2020-12-26 11:36:15 -06:00
parent 59e8244a08
commit c92af29e84
1 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ options {
logging { logging {
channel default_debug { channel default_debug {
file "data/named.run"; syslog daemon;
severity dynamic; severity dynamic;
}; };
{% if named_queries_syslog %} {% if named_queries_syslog %}