feat(http-logger): add max request and response body size attributes#12065
feat(http-logger): add max request and response body size attributes#12065MariaLapovska wants to merge 1 commit into
Conversation
|
Hi @shreemaan-abhishek! |
|
Hi @MariaLapovska, are you currently experiencing any difficulties? Please describe in more detail so that others can help. |
|
@Baoyuantop I have added |
|
Hi @MariaLapovska, we can create an issue detailing this requirement and ensure that the change is justified through community discussion |
|
Hi @Baoyuantop ! I added feature request here - #12130 |
|
@MariaLapovska if you spend a little time reading the tests you will understand that they are very simple. Most of the test cases consist of apisix configurations. If you have any specific questions feel free to ask and the community will help. |
|
Hi @MariaLapovska, are you still working on this PR? |
|
@Baoyuantop yes - I'll add tests, and I've created an issue detailing this feature, but there's no discussion in it |
|
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the [email protected] list. Thank you for your contributions. |
|
This pull request/issue has been closed due to lack of activity. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time. |
Description
In some cases APISIX users might want to customize the max size of request/response body sent to HTTP server via
http-loggerplugin to be lower/higher than the current default value of 512KiB.For this purpose two new attributes are introduced to
http-loggerplugin (similar to the existing ones inkafka-logger, taking advantage of the functionality that's already implemented inlog-util):max_resp_body_bytesmax_req_body_bytesChecklist