From 346eff94b04822a3413a7a61b66b960343845019 Mon Sep 17 00:00:00 2001 From: Alexander Gozman Date: Thu, 29 Mar 2018 15:55:52 +0000 Subject: [PATCH] Print syslog format with SCLogDebug() instead of printf() --- src/util-debug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util-debug.c b/src/util-debug.c index f7f5a4be73..5d65d8a518 100644 --- a/src/util-debug.c +++ b/src/util-debug.c @@ -1407,8 +1407,7 @@ void SCLogLoadConfig(int daemon, int verbose) facility = SC_LOG_DEF_SYSLOG_FACILITY; } } - printf("Initialization syslog logging with format \"%s\".\n", - format); + SCLogDebug("Initializing syslog logging with format \"%s\"", format); have_logging = 1; op_iface_ctx = SCLogInitSyslogOPIface(facility, format, level, type); } -- 2.47.2