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

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