log with cjson encode
This commit is contained in:
@@ -35,11 +35,7 @@ local function get_access_token()
|
||||
}
|
||||
)
|
||||
|
||||
ngx.log(ngx.INFO, "RESP HEADERS -> ", resp.headers)
|
||||
ngx.log(ngx.INFO, "RESP BODY -> ", resp.body)
|
||||
ngx.log(ngx.INFO, "RESP STATUS -> ", resp.status)
|
||||
ngx.log(ngx.INFO, "RESP STRING -> ", resp.string)
|
||||
|
||||
ngx.log(ngx.INFO, "RESP -> ", cjson.encode(resp))
|
||||
ngx.log(ngx.ERR, "ERR -> ", err)
|
||||
|
||||
if resp == nil then
|
||||
|
||||
Reference in New Issue
Block a user