From: Alex Dehnert Date: Wed, 20 Sep 2017 06:07:45 +0000 (-0400) Subject: Save bind logs in a bind-writable directory X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=36f49cb9e73b79483a7b2a569f32d6d5e7fb9747;hp=3ae79e96c30a28b80510e3c8aa4220fb21a21455;p=sysconfig%2Fbind.git Save bind logs in a bind-writable directory Otherwise, apparently bind can't do the log rotation. It logs an error message, but just keeps filling the file. --- diff --git a/named.conf.local b/named.conf.local index d0e1f75..e092794 100644 --- a/named.conf.local +++ b/named.conf.local @@ -31,7 +31,7 @@ zone "dehnerts.com" IN { logging { channel query.log { - file "/var/log/query.log" versions 10 size 100M; + file "/var/log/bind/query.log" versions 10 size 100M; // Set the severity to dynamic to see all the debug messages. severity debug 3; print-category yes;