You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by me...@apache.org on 2020/06/28 08:48:35 UTC
[incubator-apisix] branch master updated: plugin(heartbeat): use
`info` log level when failed to report heartbeat. (#1771)
This is an automated email from the ASF dual-hosted git repository.
membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 0ce0ed5 plugin(heartbeat): use `info` log level when failed to report heartbeat. (#1771)
0ce0ed5 is described below
commit 0ce0ed5fed8fd647646c8567828f9c1293c490a7
Author: YuanSheng Wang <me...@gmail.com>
AuthorDate: Sun Jun 28 16:48:27 2020 +0800
plugin(heartbeat): use `info` log level when failed to report heartbeat. (#1771)
---
apisix/plugins/heartbeat.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apisix/plugins/heartbeat.lua b/apisix/plugins/heartbeat.lua
index 0a6cf76..ed4fa2c 100644
--- a/apisix/plugins/heartbeat.lua
+++ b/apisix/plugins/heartbeat.lua
@@ -114,7 +114,7 @@ local function report()
local res
res, err = request_apisix_svr(args)
if not res then
- core.log.error("failed to report heartbeat information: ", err)
+ core.log.info("failed to report heartbeat information: ", err)
return
end