From: Alexander Gozman Date: Thu, 29 Mar 2018 15:55:52 +0000 (+0000) Subject: Print syslog format with SCLogDebug() instead of printf() X-Git-Tag: suricata-4.0.5~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=346eff94b04822a3413a7a61b66b960343845019;p=thirdparty%2Fsuricata.git Print syslog format with SCLogDebug() instead of printf() --- 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); }