Applenice opened a new issue #3612: URL: https://github.com/apache/apisix/issues/3612
### Issue description I have enabled the proxy rewrite plugin and it is currently working fine, but I want to log the responses returned by the upstream service for things like data validation, auditing and so on. I've done some research, but I'm still confused. For example: https://serverfault.com/questions/361556/is-it-possible-to-log-the-response-data-in-nginx-access-log/598045 How to implement it in APISIX, thanks! ### Environment * apisix version (cmd: `apisix version`): 2.3 * OS (cmd: `uname -a`): Linux tmp 5.4.0-65-generic #73~18.04.1-Ubuntu * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): openresty/1.19.3.1 * etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): v3.4.13 * apisix-dashboard version, if have: 2.4 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
