aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e13925d33..87de76bee 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1143,6 +1143,7 @@ main (gint argc, gchar **argv, gchar **env)
rspamd_set_logger (rspamd_main->cfg, type, rspamd_main);
(void)rspamd_log_open (rspamd_main->logger);
g_log_set_default_handler (rspamd_glib_log_function, rspamd_main->logger);
+ g_set_printerr_handler (rspamd_glib_printerr_function);
detect_priv (rspamd_main);