selftest: Use "debug syslog format = always" in selftest
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Apr 2023 00:28:12 +0000 (12:28 +1200)
committerStefan Metzmacher <metze@samba.org>
Thu, 6 Apr 2023 13:44:47 +0000 (13:44 +0000)
Some of the most difficult to debug issues in Samba development are around
timing, so this changes our default logging format in the selftest system
to include a high-resolution timestamp to help correlate bad events with
what else is going on at the same time.

This fits in well with the timestamps already logged into st/subunit
and may assist with correlation.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Apr  6 13:44:47 UTC 2023 on atb-devel-224

selftest/target/Samba3.pm
selftest/target/Samba4.pm

index d83eb879c7841138285a11429475330ede647642..830f0da533c7c44f92c4319d9b3915a8ccfa8904 100755 (executable)
@@ -2856,6 +2856,9 @@ sub provision($$)
        debug pid = yes
         max log size = 0
 
+       debug syslog format = always
+       debug hires timestamp = yes
+
        state directory = $lockdir
        cache directory = $lockdir
 
index d15156a538b25f73767c5de022d0308f7010a155..4e60155a20fc8b39454a42edd04e3fc837c9d42d 100755 (executable)
@@ -810,6 +810,9 @@ sub provision_raw_step1($$)
         rpc server port:netlogon = 1026
        include system krb5 conf = no
 
+       debug syslog format = always
+       debug hires timestamp = yes
+
 ";
 
        print CONFFILE "