change(tcp-logger): fix small error log. (#1411)

This commit is contained in:
Ayeshmantha Perera 2020-04-08 03:31:14 +02:00 committed by GitHub
parent f5a078274f
commit 285af562ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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