]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: make pattern matcher messages less verbose
authorVictor Julien <victor@inliniac.net>
Mon, 30 May 2016 15:55:27 +0000 (17:55 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 31 May 2016 14:45:42 +0000 (16:45 +0200)
src/detect-engine.c

index 24385e0e9fcdf66fbdd7d288d60e78f70fac2499..cf917ad346a2d12a4d046313255863d2672a085d 100644 (file)
@@ -839,9 +839,10 @@ static DetectEngineCtx *DetectEngineCtxInitReal(int minimal, const char *prefix)
     }
 
     de_ctx->mpm_matcher = PatternMatchDefaultMatcher();
-    SCLogInfo("using MPM matcher: %s", mpm_table[de_ctx->mpm_matcher].name);
     de_ctx->spm_matcher = SinglePatternMatchDefaultMatcher();
-    SCLogInfo("using SPM matcher: %s", spm_table[de_ctx->spm_matcher].name);
+    SCLogInfo("pattern matchers: MPM: %s, SPM: %s",
+        mpm_table[de_ctx->mpm_matcher].name,
+        spm_table[de_ctx->spm_matcher].name);
 
     de_ctx->spm_global_thread_ctx = SpmInitGlobalThreadCtx(de_ctx->spm_matcher);
     if (de_ctx->spm_global_thread_ctx == NULL) {