diff options
Diffstat (limited to 'src/rspamadm/configdump.c')
-rw-r--r-- | src/rspamadm/configdump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamadm/configdump.c b/src/rspamadm/configdump.c index 199a22693..355437b9c 100644 --- a/src/rspamadm/configdump.c +++ b/src/rspamadm/configdump.c @@ -86,7 +86,8 @@ config_logger (rspamd_mempool_t *pool, gpointer ud) rm->cfg->log_type = RSPAMD_LOG_CONSOLE; rm->cfg->log_level = G_LOG_LEVEL_CRITICAL; - rspamd_set_logger (rm->cfg, g_quark_try_string ("main"), rm); + rspamd_set_logger (rm->cfg, g_quark_try_string ("main"), &rm->logger, + rm->server_pool); if (rspamd_log_open_priv (rm->logger, rm->workers_uid, rm->workers_gid) == -1) { fprintf (stderr, "Fatal error, cannot open logfile, exiting\n"); |