aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-15 15:16:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-15 15:16:45 +0000
commita430b091986b3ed700d809667d4280e890e0df04 (patch)
treeb248cc8651966cb2c61888ab92caf769380a7baf /src/rspamd.c
parent36f824542b236f4e8c600e89132f6c40d58a3509 (diff)
downloadrspamd-a430b091986b3ed700d809667d4280e890e0df04.tar.gz
rspamd-a430b091986b3ed700d809667d4280e890e0df04.zip
[Minor] Fix enabling debug modules on startup
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 3106ea0a9..a44f33b6c 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -265,6 +265,8 @@ config_logger (rspamd_mempool_t *pool, gpointer ud)
fprintf (stderr, "Fatal error, cannot open logfile, exiting\n");
exit (EXIT_FAILURE);
}
+
+ rspamd_logger_configure_modules (rspamd_main->cfg->debug_modules);
}
static void