]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
eve-log: output cleanup
authorVictor Julien <victor@inliniac.net>
Thu, 6 Mar 2014 11:33:14 +0000 (12:33 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 6 Mar 2014 11:33:14 +0000 (12:33 +0100)
Suppress debug messages and print in a nicer way which modules are
being enabled.

src/runmodes.c

index 3aa87bdf02f41e63886419377e2b7ac20fad3a27..d975414e19e267bca03971d5406f31a424e0cc63 100644 (file)
@@ -605,11 +605,11 @@ void RunModeInitializeOutputs(void)
         // TODO if module == parent, find it's children
         if (strcmp(output->val, "eve-log") == 0) {
             ConfNode *types = ConfNodeLookupChild(output_config, "types");
-            SCLogInfo("types %p", types);
+            SCLogDebug("types %p", types);
             if (types != NULL) {
                 ConfNode *type = NULL;
                 TAILQ_FOREACH(type, &types->head, next) {
-                    SCLogInfo("type %s", type->val);
+                    SCLogInfo("enabling 'eve-log' module '%s'", type->val);
 
                     char subname[256];
                     snprintf(subname, sizeof(subname), "%s.%s", output->val, type->val);