From: Victor Julien Date: Thu, 1 Dec 2022 11:44:38 +0000 (+0100) Subject: detect: turn cleanup message into debug message X-Git-Tag: suricata-7.0.0-rc1~247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cef0a84bd244fd795bb1a13c5846f40fab0b537c;p=thirdparty%2Fsuricata.git detect: turn cleanup message into debug message --- diff --git a/src/detect-engine-build.c b/src/detect-engine-build.c index f9b95eb6cf..bfb46713b0 100644 --- a/src/detect-engine-build.c +++ b/src/detect-engine-build.c @@ -1743,9 +1743,8 @@ int SigAddressCleanupStage1(DetectEngineCtx *de_ctx) { BUG_ON(de_ctx == NULL); - if (!(de_ctx->flags & DE_QUIET)) { - SCLogDebug("cleaning up signature grouping structure..."); - } + SCLogDebug("cleaning up signature grouping structure..."); + if (de_ctx->decoder_event_sgh) SigGroupHeadFree(de_ctx, de_ctx->decoder_event_sgh); de_ctx->decoder_event_sgh = NULL; @@ -1777,9 +1776,7 @@ int SigAddressCleanupStage1(DetectEngineCtx *de_ctx) IPOnlyDeinit(de_ctx, &de_ctx->io_ctx); - if (!(de_ctx->flags & DE_QUIET)) { - SCLogInfo("cleaning up signature grouping structure... complete"); - } + SCLogDebug("cleaning up signature grouping structure... complete"); return 0; }