mscb402 commented on code in PR #8711:
URL: https://github.com/apache/apisix/pull/8711#discussion_r1089900880
##########
apisix/plugins/file-logger.lua:
##########
@@ -59,6 +59,9 @@ local _M = {
metadata_schema = metadata_schema
}
+core.ctx.register_var("resp_body", function(ctx)
Review Comment:
I don't think this var should be put into the `ctx.lua` file. Because the
value of resp_body comes from `ctx.resp_body`, which is set by `file-logger`
when include_resp_body = true.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]