From 10a360280f09b69185629cd4652620f84e950ddb 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 c7c5bbba5c..885c889fc6 100644 --- a/src/util-debug.c +++ b/src/util-debug.c @@ -1406,8 +1406,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); }