Add more details to log lines (like timestamps...)
authorAlex Dehnert <alex@dehnerts.com>
Mon, 12 Dec 2016 03:10:28 +0000 (22:10 -0500)
committerAlex Dehnert <alex@dehnerts.com>
Mon, 12 Dec 2016 03:10:28 +0000 (22:10 -0500)
named.conf.local

index d6bd61a281ad034bf2df5263e3e77fdaa07c69ce..1b931dca67ad52d380c7c33aa41d58edce62abb9 100644 (file)
@@ -31,9 +31,12 @@ zone "dehnerts.com" IN {
 
 logging {
     channel query.log {
-        file "/var/log/query.log";
+        file "/var/log/query.log" versions 10 size 100M;
         // Set the severity to dynamic to see all the debug messages.
         severity debug 3;
+        print-category yes;
+        print-severity yes;
+        print-time yes;
     };
 
     category queries { query.log; };