1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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
This commit is contained in:
Andrew Bartlett 2023-04-06 12:28:12 +12:00 committed by Stefan Metzmacher
parent 83fe7a0316
commit ca7b7bde39
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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 "