You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/11 14:42:55 UTC

[GitHub] [apisix] tokers commented on issue #5037: request help: I want to add the result data of the request response to the access log

tokers commented on issue #5037:
URL: https://github.com/apache/apisix/issues/5037#issuecomment-917418654


   You may have to collect the response body by concatenating them in the body_filter phase, you may serialize them into a Nginx variable and print it in the access log, since you need another Nginx variable, you may have to modify the `apisix/cli/ngx_tpl.lua` to add it (as currently, APISIX doesn't support to configure custom Nginx variables in config.yaml).


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org