]> 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)
committerEvan Hunt <each@isc.org>
Fri, 11 Sep 2020 19:17:57 +0000 (12:17 -0700)
the test server running in shutdown/resolver was not logging
any debug info, which made it difficult to diagnose test failures.

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

index f977c772e800080f8c784598106ce60cbed72c08..0bb926ec7738ad56d7218a1484b5c786877cdfbf 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;