From cef0a84bd244fd795bb1a13c5846f40fab0b537c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 1 Dec 2022 12:44:38 +0100 Subject: [PATCH] detect: turn cleanup message into debug message --- src/detect-engine-build.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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; } -- 2.47.2