From ca7b7bde3915a821b1b9911abf18d2d441665382 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 6 Apr 2023 12:28:12 +1200 Subject: [PATCH] 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 Reviewed-by: Stefan Metzmacher Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Thu Apr 6 13:44:47 UTC 2023 on atb-devel-224 --- selftest/target/Samba3.pm | 3 +++ selftest/target/Samba4.pm | 3 +++ 2 files changed, 6 insertions(+) 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 "