diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-30 12:46:19 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-30 12:46:19 +0000 |
commit | abd0644afd32dfb75840c85ca4ab8a4c87de97c6 (patch) | |
tree | 4541bba659786773e5c510a503d691d9c0e20e1b /src/plugins/fuzzy_check.c | |
parent | 9de464d9ad75c4e9bfd13cb73814fd1665ce53f2 (diff) | |
download | rspamd-abd0644afd32dfb75840c85ca4ab8a4c87de97c6.tar.gz rspamd-abd0644afd32dfb75840c85ca4ab8a4c87de97c6.zip |
[Minor] Improve logging
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r-- | src/plugins/fuzzy_check.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 58ba610fe..5f706e237 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -2917,6 +2917,10 @@ register_fuzzy_controller_call (struct rspamd_http_connection_entry *entry, if ((sock = rspamd_inet_address_connect (addr, SOCK_DGRAM, TRUE)) == -1) { + msg_warn_task ("cannot connect to fuzzy storage %s (%s rule): %s", + rspamd_inet_address_to_string_pretty (addr), + rule->name, + strerror (errno)); rspamd_upstream_fail (selected, TRUE); } else { |