]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add more logging to the shutdown system test
authorEvan Hunt <each@isc.org>
Thu, 16 Jul 2020 22:47:58 +0000 (15:47 -0700)
committerOndřej Surý <ondrej@sury.org>
Thu, 1 Oct 2020 16:09:35 +0000 (18:09 +0200)
the test server running in shutdown/resolver was not logging
any debug info, which made it difficult to diagnose test failures.

(cherry picked from commit cc7ceace7dcaade77e7197e9ca2cd916edb7e51a)

bin/tests/system/shutdown/clean.sh
bin/tests/system/shutdown/resolver/named.conf.in

index 50a0ae889338d310ee684a5a989117156879450f..8c82e0ed6b90da0f4765e5f032cfa843f16c6a4f 100644 (file)
@@ -8,11 +8,10 @@
 # information regarding copyright ownership.
 
 rm -f ns*/*.jnl
-rm -f ns*/named.conf
 rm -f ns*/named.lock
 rm -f ns*/named.memstats
-rm -f ns*/named.run
 rm -f ns*/rpz*.txt
-rm -f resolver/named.conf
+rm -f */named.conf
+rm -f */named.run
 rm -rf __pycache__
 rm -f *.status
index 8ad14f408bcef4e82fbe3f5470e405c56fd7eed8..d03539003c87c71c7296a9d9267fd34f6833db4e 100644 (file)
@@ -1,3 +1,11 @@
+logging {
+       channel basic {
+               file "named.run";
+               severity debug 999;
+               print-time yes;
+       };
+       category default { basic; };
+};
 key rndc_key {
     secret "1234abcd8765";
        algorithm hmac-sha256;