From: Vsevolod Stakhov Date: Wed, 30 Oct 2019 12:46:19 +0000 (+0000) Subject: [Minor] Improve logging X-Git-Tag: 2.2~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abd0644afd32dfb75840c85ca4ab8a4c87de97c6;p=thirdparty%2Frspamd.git [Minor] Improve logging --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 58ba610fe8..5f706e237c 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 {