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.1.0-rc1~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10a360280f09b69185629cd4652620f84e950ddb;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 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); }