diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-14 13:42:26 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-14 13:42:48 +0000 |
commit | 747f2839b029685d4d9ec2faec5785fa8cc0fcce (patch) | |
tree | c26d2e30bf7c86b78ab4448200b00dd26860baab /test/rspamd_test_suite.c | |
parent | 1c6f2f9514f16af81148ca483017a6129f21beb6 (diff) | |
download | rspamd-747f2839b029685d4d9ec2faec5785fa8cc0fcce.tar.gz rspamd-747f2839b029685d4d9ec2faec5785fa8cc0fcce.zip |
[Feature] Add mime tool to explore messages
Diffstat (limited to 'test/rspamd_test_suite.c')
-rw-r--r-- | test/rspamd_test_suite.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/rspamd_test_suite.c b/test/rspamd_test_suite.c index 17e4ff872..ddce88d3d 100644 --- a/test/rspamd_test_suite.c +++ b/test/rspamd_test_suite.c @@ -21,7 +21,8 @@ main (int argc, char **argv) cfg->log_type = RSPAMD_LOG_CONSOLE; cfg->log_level = G_LOG_LEVEL_INFO; - rspamd_set_logger (cfg, g_quark_from_static_string("rspamd-test"), rspamd_main); + rspamd_set_logger (cfg, g_quark_from_static_string("rspamd-test"), + &rspamd_main->logger, rspamd_main->server_pool); (void)rspamd_log_open (rspamd_main->logger); g_test_init (&argc, &argv, NULL); @@ -33,7 +34,8 @@ main (int argc, char **argv) if (g_test_verbose ()) { cfg->log_level = G_LOG_LEVEL_DEBUG; - rspamd_set_logger (cfg, g_quark_from_static_string("rspamd-test"), rspamd_main); + rspamd_set_logger (cfg, g_quark_from_static_string("rspamd-test"), + &rspamd_main->logger, rspamd_main->server_pool); (void)rspamd_log_reopen (rspamd_main->logger); } |