diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-22 16:08:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-22 16:08:44 +0100 |
commit | bbc4c1eee1f8bd1bcb55189d6ad692ff6c28f72a (patch) | |
tree | c75c7ea3751def4d0770ce76060e0b4c5d30d3a5 /src/main.c | |
parent | 74bf7ad25800bb510735a245f88728e1e1aad725 (diff) | |
download | rspamd-bbc4c1eee1f8bd1bcb55189d6ad692ff6c28f72a.tar.gz rspamd-bbc4c1eee1f8bd1bcb55189d6ad692ff6c28f72a.zip |
Print assertions from glib to rspamd logger.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
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); |