diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-23 16:16:21 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-23 16:16:21 +0000 |
commit | a763b9c316a2b9add0de247a456a71ca495310f8 (patch) | |
tree | b88953d344eec4cf52bf20cbb32d47d27764cd03 /src/plugins/lua/elastic.lua | |
parent | 51b39f712d38cb69ede71d62e84c9079234cdb70 (diff) | |
download | rspamd-a763b9c316a2b9add0de247a456a71ca495310f8.tar.gz rspamd-a763b9c316a2b9add0de247a456a71ca495310f8.zip |
[Minor] Remove too long strings in Lua code
Diffstat (limited to 'src/plugins/lua/elastic.lua')
-rw-r--r-- | src/plugins/lua/elastic.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index aa3702112..d613d335f 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -99,7 +99,8 @@ local function elastic_send_data(task) push_url, err, failed_sends, settings.max_fail) else if response.code ~= 200 then - rspamd_logger.infox(task, "cannot push data to elastic backend (%s): wrong http code %s (%s); failed attempts: %s/%s", + rspamd_logger.infox(task, + "cannot push data to elastic backend (%s): wrong http code %s (%s); failed attempts: %s/%s", push_url, err, response.code, failed_sends, settings.max_fail) else lua_util.debugm(N, task, "successfully sent %s (%s bytes) rows to ES", |