mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-14 08:51:29 +08:00
change(tcp-logger): fix small error log. (#1411)
This commit is contained in:
parent
f5a078274f
commit
285af562ea
@ -120,7 +120,7 @@ function _M.log(conf)
|
||||
end
|
||||
|
||||
if not data then
|
||||
core.log.error('error occurred while encoding the token: ', err)
|
||||
core.log.error('error occurred while encoding the data: ', err)
|
||||
end
|
||||
|
||||
return send_tcp_data(conf, data)
|
||||
|
@ -82,7 +82,7 @@ function _M.log(conf)
|
||||
local entry = log_util.get_full_log(ngx)
|
||||
|
||||
if not entry.route_id then
|
||||
core.log.error("failed to obtain the route id for tcp logger")
|
||||
core.log.error("failed to obtain the route id for udp logger")
|
||||
return
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user