diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-14 15:45:56 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-14 15:45:56 +0000 |
commit | 577a34501b40fcc5982c5ddfc326ddf1c66b13de (patch) | |
tree | a8d7c3b32624f68a415ad198a7b3070f57a7f8fd /src/rspamadm/rspamadm.c | |
parent | c11f4f3b96eef519b64b9a98daf93ade96f50bf4 (diff) | |
download | rspamd-577a34501b40fcc5982c5ddfc326ddf1c66b13de.tar.gz rspamd-577a34501b40fcc5982c5ddfc326ddf1c66b13de.zip |
[Feature] Rework logging configuration for rspamadm case
Diffstat (limited to 'src/rspamadm/rspamadm.c')
-rw-r--r-- | src/rspamadm/rspamadm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c index 67b93149a..73988f848 100644 --- a/src/rspamadm/rspamadm.c +++ b/src/rspamadm/rspamadm.c @@ -295,6 +295,8 @@ main (gint argc, gchar **argv, gchar **env) cfg->log_level = G_LOG_LEVEL_WARNING; cfg->log_type = RSPAMD_LOG_CONSOLE; + /* Avoid timestamps printing */ + cfg->log_flags = RSPAMD_LOG_FLAG_RSPAMADM; rspamd_set_logger (cfg, process_quark, &rspamd_main->logger, rspamd_main->server_pool); (void) rspamd_log_open (rspamd_main->logger); |