MariaLapovska commented on PR #12065: URL: https://github.com/apache/apisix/pull/12065#issuecomment-2744469252
@Baoyuantop I have added `max_resp_body_bytes` and `max_req_body_bytes` attributes for `http-logger` plugin (to be able to limit max request/response body size logged), following the example and reusing the logic that @shreemaan-abhishek has already implemented in [this PR](https://github.com/apache/apisix/pull/11133). I am a Java dev, so I don't have enough expertise to write tests for this feature. Would it be possible for anyone to help me out with adding tests for logging large body via `http-logger`, same as the [existing tests for kafka-logger](https://github.com/apache/apisix/blob/master/t/plugin/kafka-logger-large-body.t)? -- 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]
