]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
datarep: remove notice messages
authorVictor Julien <victor@inliniac.net>
Thu, 5 Sep 2019 08:54:28 +0000 (10:54 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 5 Sep 2019 13:01:42 +0000 (15:01 +0200)
src/detect-datarep.c

index 6ee91a1c7cb5a241dde5b2f8708fa1fcac329a61..c8ec739e08be3c4c1865f8fc62d88d1b30a9b906 100644 (file)
@@ -248,9 +248,9 @@ static int SetupLoadPath(const DetectEngineCtx *de_ctx,
     if (SCPathExists(path)) {
         done = true;
         strlcpy(load, path, load_size);
-        SCLogNotice("using path '%s' (HAVE_LIBGEN_H)", load);
+        SCLogDebug("using path '%s' (HAVE_LIBGEN_H)", load);
     } else {
-        SCLogNotice("path '%s' does not exist (HAVE_LIBGEN_H)", path);
+        SCLogDebug("path '%s' does not exist (HAVE_LIBGEN_H)", path);
     }
 #endif
     if (!done) {
@@ -258,13 +258,13 @@ static int SetupLoadPath(const DetectEngineCtx *de_ctx,
         if (loadp == NULL) {
             return -1;
         }
-        SCLogNotice("loadp %s", loadp);
+        SCLogDebug("loadp %s", loadp);
 
         if (SCPathExists(loadp)) {
             strlcpy(load, loadp, load_size);
-            SCLogNotice("using path '%s' (non-HAVE_LIBGEN_H)", load);
+            SCLogDebug("using path '%s' (non-HAVE_LIBGEN_H)", load);
         } else {
-            SCLogNotice("path '%s' does not exist (non-HAVE_LIBGEN_H)", loadp);
+            SCLogDebug("path '%s' does not exist (non-HAVE_LIBGEN_H)", loadp);
         }
         SCFree(loadp);
 
@@ -332,7 +332,7 @@ static int DetectDatarepSetup (DetectEngineCtx *de_ctx, Signature *s, const char
     cd->op = op;
     cd->rep.value = value;
 
-    SCLogNotice("cmd %s, name %s",
+    SCLogDebug("cmd %s, name %s",
         cmd_str, strlen(name) ? name : "(none)");
 
     /* Okay so far so good, lets get this into a SigMatch