summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2023-04-06 12:28:12 +1200
committerStefan Metzmacher <metze@samba.org>2023-04-06 13:44:47 +0000
commitca7b7bde3915a821b1b9911abf18d2d441665382 (patch)
treef0698bc67e213d604fc969c505ea05cabfb6954f
parent83fe7a0316d3e5867a56cfdc51ec17f36ea03889 (diff)
downloadsamba-ca7b7bde3915a821b1b9911abf18d2d441665382.tar.gz
selftest: Use "debug syslog format = always" in selftest
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
-rwxr-xr-xselftest/target/Samba3.pm3
-rwxr-xr-xselftest/target/Samba4.pm3
2 files changed, 6 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index d83eb879c78..830f0da533c 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -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
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index d15156a538b..4e60155a20f 100755
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -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 "