aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-06 19:18:40 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-06 19:18:40 +0000
commitbfe48b659baf0e5007e5fd6b7804881cb92e32fe (patch)
tree46ef176183d8b2bd12bf7d538b9a578ba16c2ce0 /src/rspamd.c
parentba285a1b84465d7de1bd55e27c9c74a665738416 (diff)
downloadrspamd-bfe48b659baf0e5007e5fd6b7804881cb92e32fe.tar.gz
rspamd-bfe48b659baf0e5007e5fd6b7804881cb92e32fe.zip
[Fix] Fix logging for rspamadm
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index fce081b1c..cfaba54d6 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -1395,7 +1395,7 @@ main (gint argc, gchar **argv, gchar **env)
type = g_quark_from_static_string ("main");
/* First set logger to console logger */
- rspamd_main->logger = rspamd_log_open_emergency (rspamd_main->server_pool);
+ rspamd_main->logger = rspamd_log_open_emergency (rspamd_main->server_pool, 0);
g_assert (rspamd_main->logger != NULL);
if (is_debug) {