From: Victor Julien Date: Thu, 28 Jun 2018 08:43:25 +0000 (+0200) Subject: detect/debug: suppress noisy info messages X-Git-Tag: suricata-4.0.5~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbec94b79af3ba197377d634a858904120352bac;p=thirdparty%2Fsuricata.git detect/debug: suppress noisy info messages --- diff --git a/src/detect-engine.c b/src/detect-engine.c index 05fedbfa58..51c880d0fc 100644 --- a/src/detect-engine.c +++ b/src/detect-engine.c @@ -1913,14 +1913,14 @@ static DetectEngineThreadCtx *DetectEngineThreadCtxInitForReload( static void DetectEngineThreadCtxFree(DetectEngineThreadCtx *det_ctx) { -#ifdef DEBUG - SCLogInfo("PACKET PKT_STREAM_ADD: %"PRIu64, det_ctx->pkt_stream_add_cnt); +#if DEBUG + SCLogDebug("PACKET PKT_STREAM_ADD: %"PRIu64, det_ctx->pkt_stream_add_cnt); - SCLogInfo("PAYLOAD MPM %"PRIu64"/%"PRIu64, det_ctx->payload_mpm_cnt, det_ctx->payload_mpm_size); - SCLogInfo("STREAM MPM %"PRIu64"/%"PRIu64, det_ctx->stream_mpm_cnt, det_ctx->stream_mpm_size); + SCLogDebug("PAYLOAD MPM %"PRIu64"/%"PRIu64, det_ctx->payload_mpm_cnt, det_ctx->payload_mpm_size); + SCLogDebug("STREAM MPM %"PRIu64"/%"PRIu64, det_ctx->stream_mpm_cnt, det_ctx->stream_mpm_size); - SCLogInfo("PAYLOAD SIG %"PRIu64"/%"PRIu64, det_ctx->payload_persig_cnt, det_ctx->payload_persig_size); - SCLogInfo("STREAM SIG %"PRIu64"/%"PRIu64, det_ctx->stream_persig_cnt, det_ctx->stream_persig_size); + SCLogDebug("PAYLOAD SIG %"PRIu64"/%"PRIu64, det_ctx->payload_persig_cnt, det_ctx->payload_persig_size); + SCLogDebug("STREAM SIG %"PRIu64"/%"PRIu64, det_ctx->stream_persig_cnt, det_ctx->stream_persig_size); #endif if (det_ctx->tenant_array != NULL) {