Skip to content

Commit

Permalink
remove unnecessary logs
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Nov 2, 2023
1 parent 9e6775d commit 2d04e7f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gateway/src/apicast/policy/apicast/apicast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function _M.cleanup()
end

function _M:rewrite(context)
ngx.log(ngx.INFO, "registering on abort")
local ok, err = ngx.on_abort(self.cleanup)
if not ok then
ngx.log(ngx.ERR, "failed to register the on_abort callback: ", err)
Expand Down Expand Up @@ -93,7 +92,6 @@ function _M:post_action(context)
end

function _M:access(context)
ngx.log(ngx.INFO, "registering on abort")
local ok, err = ngx.on_abort(self.cleanup)
if not ok then
ngx.log(ngx.ERR, "failed to register the on_abort callback: ", err)
Expand Down Expand Up @@ -121,7 +119,6 @@ function _M:access(context)
end

function _M:content(context)
ngx.log(ngx.INFO, "registering on abort")
local ok, err = ngx.on_abort(self.cleanup)
if not ok then
ngx.log(ngx.ERR, "failed to register the on_abort callback: ", err)
Expand Down

0 comments on commit 2d04e7f

Please sign in to comment.