Skip to content

Commit

Permalink
use configured logger, closes #241, thanks @arcivanov
Browse files Browse the repository at this point in the history
  • Loading branch information
bodewig committed Dec 19, 2018
1 parent 39287af commit d7bd9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resty/openidc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ local WARN = ngx.WARN
local function token_auth_method_precondition(method, required_field)
return function(opts)
if not opts[required_field] then
ngx.log(ngx.DEBUG, "Can't use " .. method .. " without opts." .. required_field)
log(DEBUG, "Can't use " .. method .. " without opts." .. required_field)
return false
end
return true
Expand Down

0 comments on commit d7bd9a2

Please sign in to comment.