From: Vsevolod Stakhov Date: Mon, 21 Sep 2015 15:03:52 +0000 (+0100) Subject: Improve fuzzy IO errors logging. X-Git-Tag: 1.0.1~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7299f62dc0aeaa15057aac74ae74e95bd9ebb9b6;p=thirdparty%2Frspamd.git Improve fuzzy IO errors logging. --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index f27c0ee5a1..8d9aaf9265 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -822,8 +822,9 @@ fuzzy_io_callback (gint fd, short what, void *arg) return; } else if (ret == -1) { - msg_err_task ("got error on IO with server %s, %d, %s", + msg_err_task ("got error on IO with server %s, on %s, %d, %s", rspamd_upstream_name (session->server), + session->state == 1 ? "read" : "write", errno, strerror (errno)); rspamd_upstream_fail (session->server);