commit abd0644: [Minor] Improve logging
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Oct 30 12:49:07 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-10-30 12:46:19 +0000
URL: https://github.com/rspamd/rspamd/commit/abd0644afd32dfb75840c85ca4ab8a4c87de97c6 (HEAD -> master)
[Minor] Improve logging
---
src/plugins/fuzzy_check.c | 4 ++++
1 file changed, 4 insertions(+)
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 {
More information about the Commits
mailing list