diff options
author | Andrew Bartlett <abartlet@samba.org> | 2023-04-06 12:26:11 +1200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2023-04-06 12:51:30 +0000 |
commit | 83fe7a0316d3e5867a56cfdc51ec17f36ea03889 (patch) | |
tree | f0b8270fd8614ef41a2421e01a201e4c20388790 /ctdb | |
parent | 33effa76d6bdb53ecfc1e77c6706d765e34716be (diff) | |
download | samba-83fe7a0316d3e5867a56cfdc51ec17f36ea03889.tar.gz |
lib/util: Add "debug syslog format = always", which logs to stdout in syslog style
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/common/logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/common/logging.c b/ctdb/common/logging.c index 3aa5ca996ee..ad6d0c959a4 100644 --- a/ctdb/common/logging.c +++ b/ctdb/common/logging.c @@ -146,7 +146,7 @@ static int file_log_setup(TALLOC_CTX *mem_ctx, const char *app_name) { struct debug_settings settings = { - .debug_syslog_format = true, + .debug_syslog_format = DEBUG_SYSLOG_FORMAT_ALWAYS, .debug_hires_timestamp = true, .debug_no_stderr_redirect = true, }; |