diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-10 12:39:55 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-10 12:39:55 +0100 |
commit | 04d6da8353b748842c99ae8430e62693aeb0957e (patch) | |
tree | ea9927899a1fd26da830af4298a1218ba3038440 /src/plugins | |
parent | de56563f68a2127119deb5bbbb26cfc3b12369fe (diff) | |
download | rspamd-04d6da8353b748842c99ae8430e62693aeb0957e.tar.gz rspamd-04d6da8353b748842c99ae8430e62693aeb0957e.zip |
[Minor] Minor fixes to log messages
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/url_redirector.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/url_redirector.lua b/src/plugins/lua/url_redirector.lua index 22603f288..698ed6f8c 100644 --- a/src/plugins/lua/url_redirector.lua +++ b/src/plugins/lua/url_redirector.lua @@ -139,8 +139,8 @@ local function resolve_cached(task, orig_url, url, key, param, ntries) cache_url(task, orig_url, url, key, param) elseif code == 301 or code == 302 then local loc = headers['Location'] - rspamd_logger.infox(task, 'found redirect from %s to %s, err code 200', - orig_url, loc) + rspamd_logger.infox(task, 'found redirect from %s to %s, err code %s', + orig_url, loc, code) if loc then if settings.redirectors_only then if rspamd_plugins.surbl.is_redirector(task, loc) then |