Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only log request body in debug log level #292

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Only log request body in debug log level #292

wants to merge 1 commit into from

Conversation

pkqk
Copy link
Member

@pkqk pkqk commented Nov 20, 2024

Until now bramble has logged the entire body of each request. This has been useful for debugging and seeing it in operation but it has a few downsides:

  • Entries can be huge
  • Risk of sensitive information being leaked
  • IO delay of creating large log events

This doesn't address #178 but it does alter the behaviour in a way that might alleviate log size.

Until now bramble has logged the entire body of each request. This has
been useful for debugging and seeing it in operation but it has a few
downsides:

- Entries can be huge
- Risk of sensitive information being leaked
- IO delay of creating large log events
@pkqk pkqk requested a review from a team as a code owner November 20, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant