From 7ad1f167ead534380f923496d842f564409ab4f0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 20 Mar 2019 14:23:14 +0000 Subject: [PATCH] [Minor] Slight logging improvements --- src/lua/lua_http.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lua/lua_http.c b/src/lua/lua_http.c index 1a3f8a4a2..f88394f06 100644 --- a/src/lua/lua_http.c +++ b/src/lua/lua_http.c @@ -204,7 +204,9 @@ lua_http_error_handler (struct rspamd_http_connection *conn, GError *err) } else { /* TODO: kill me please */ - msg_info ("lost HTTP error in coroutines mess: %s", err->message); + msg_info ("lost HTTP error from %s in coroutines mess: %s", + rspamd_inet_address_to_string_pretty (cbd->addr), + err->message); } } else { @@ -233,7 +235,8 @@ lua_http_finish_handler (struct rspamd_http_connection *conn, } else { /* TODO: kill me please */ - msg_err ("lost HTTP data in coroutines mess"); + msg_err ("lost HTTP data from %s in coroutines mess", + rspamd_inet_address_to_string_pretty (cbd->addr)); } REF_RELEASE (cbd); -- 2.39.5