From 0f3802f797d2644bced3a750acaf5b676d0e3a25 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 28 Aug 2022 12:01:02 +0200 Subject: Move xfer log to /var/named/log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- named.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/named.conf b/named.conf index 2285656..84fcb47 100644 --- a/named.conf +++ b/named.conf @@ -68,12 +68,13 @@ zone "remmy.io" IN { logging { channel xfer-log { - file "/var/log/named.log"; + file "/var/named/log/zone_transfers" versions 3 size 20m; + print-time yes; print-category yes; print-severity yes; - print-time yes; severity info; }; + category xfer-in { xfer-log; }; category xfer-out { xfer-log; }; category notify { xfer-log; }; -- cgit v1.2.3-70-g09d2