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/11/12 01:40:14 UTC

[GitHub] [apisix] spacewander commented on issue #5343: request help: kafka logger supports logging request body

spacewander commented on issue #5343:
URL: https://github.com/apache/apisix/issues/5343#issuecomment-966749451


   > it may cause performance issue
   
   Yes. The log of body is expensive. So we should only log it if need.
   
   > Other phase like filter_by_lua may rewrite request and response by other plugin.
   
   In practice, it is not a problem. The gzip filter runs after lua filter, so there is no way to log the gzipped response body in the Lua. However, very few people want to log the gzipped body instead of the original one. If people need a 100% real body sent to the client, they should do it in another proxy or a traffic capture sidecar.


-- 
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