summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2023-04-06 12:26:11 +1200
committerStefan Metzmacher <metze@samba.org>2023-04-06 12:51:30 +0000
commit83fe7a0316d3e5867a56cfdc51ec17f36ea03889 (patch)
treef0b8270fd8614ef41a2421e01a201e4c20388790 /ctdb
parent33effa76d6bdb53ecfc1e77c6706d765e34716be (diff)
downloadsamba-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.c2
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,
};