From 9f7ee03debceac664602225bb33b75dc44665bcf Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Fri, 4 Nov 2011 16:19:56 +0100 Subject: [PATCH] log: read output filter from config file. The output filter was not read from configuration file and thus not used in this case. --- src/util-debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util-debug.c b/src/util-debug.c index 437a53456f..8df7ba0b7f 100644 --- a/src/util-debug.c +++ b/src/util-debug.c @@ -1141,6 +1141,8 @@ void SCLogLoadConfig(void) if (ConfGet("logging.default-log-format", &sc_lid->global_log_format) != 1) sc_lid->global_log_format = SC_LOG_DEF_LOG_FORMAT; + ConfGet("logging.default-output-filter", &sc_lid->op_filter); + ConfNode *seq_node, *output; TAILQ_FOREACH(seq_node, &outputs->head, next) { SCLogLevel level = sc_lid->global_log_level;