]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: turn cleanup message into debug message
authorVictor Julien <vjulien@oisf.net>
Thu, 1 Dec 2022 11:44:38 +0000 (12:44 +0100)
committerVictor Julien <vjulien@oisf.net>
Thu, 15 Dec 2022 15:24:13 +0000 (16:24 +0100)
src/detect-engine-build.c

index f9b95eb6cff9bf9bb25d4bec24b56c48ab56173e..bfb46713b03edaf406c6f931976b207cbba36465 100644 (file)
@@ -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;
 }