diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-11 17:26:02 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-11 17:26:02 +0100 |
commit | 8c5dafb02fdb2eb6009d55aa6bf22c8d0c4feb00 (patch) | |
tree | 5221d9f13293016e3a4c0e17a572c614e49441eb /src/libserver/cfg_utils.c | |
parent | 673986f9618514c66f05d13c6f663abc942e44c4 (diff) | |
download | rspamd-8c5dafb02fdb2eb6009d55aa6bf22c8d0c4feb00.tar.gz rspamd-8c5dafb02fdb2eb6009d55aa6bf22c8d0c4feb00.zip |
[Minor] Add logging variable for forced actions
Diffstat (limited to 'src/libserver/cfg_utils.c')
-rw-r--r-- | src/libserver/cfg_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c index 3d5b69050..ff1e77d15 100644 --- a/src/libserver/cfg_utils.c +++ b/src/libserver/cfg_utils.c @@ -446,6 +446,9 @@ rspamd_config_process_var (struct rspamd_config *cfg, const rspamd_ftok_t *var, else if (rspamd_ftok_cstr_equal (&tok, "filename", TRUE)) { type = RSPAMD_LOG_FILENAME; } + else if (rspamd_ftok_cstr_equal (&tok, "forced_action", TRUE)) { + type = RSPAMD_LOG_FORCED_ACTION; + } else { msg_err_config ("unknown log variable: %T", &tok); return FALSE; |