diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-21 16:03:52 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-21 16:03:52 +0100 |
commit | 7299f62dc0aeaa15057aac74ae74e95bd9ebb9b6 (patch) | |
tree | 61b9259c68480a64f699c1cc1d058a8c3d162333 /src/plugins | |
parent | 109250260129d885e879e35e6bc8b7a50b7c8b0a (diff) | |
download | rspamd-7299f62dc0aeaa15057aac74ae74e95bd9ebb9b6.tar.gz rspamd-7299f62dc0aeaa15057aac74ae74e95bd9ebb9b6.zip |
Improve fuzzy IO errors logging.
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/fuzzy_check.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index f27c0ee5a..8d9aaf926 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); |