aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-20 14:03:30 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-20 14:03:30 +0000
commit076d8e3f5b12781acafe0e6de081b9041d6de208 (patch)
treecc86b76559ba87d5cb31395cd4a6737e68d024d1 /src/rspamadm
parent7fa61a389c9560d3afcb655fae441f24d07cb80a (diff)
downloadrspamd-076d8e3f5b12781acafe0e6de081b9041d6de208.tar.gz
rspamd-076d8e3f5b12781acafe0e6de081b9041d6de208.zip
[Minor] Preserve debug logging when running `rspamadm -v`
Diffstat (limited to 'src/rspamadm')
-rw-r--r--src/rspamadm/rspamadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c
index c49853ef7..0c6ffd419 100644
--- a/src/rspamadm/rspamadm.c
+++ b/src/rspamadm/rspamadm.c
@@ -420,7 +420,7 @@ main (gint argc, gchar **argv, gchar **env)
/* Setup logger */
if (verbose) {
cfg->log_level = G_LOG_LEVEL_DEBUG;
- cfg->log_flags |= RSPAMD_LOG_FLAG_USEC;
+ cfg->log_flags |= RSPAMD_LOG_FLAG_USEC|RSPAMD_LOG_FLAG_ENFORCED;
}
else {
cfg->log_level = G_LOG_LEVEL_MESSAGE;