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

How to setup access log with different log level. #2193

Open
nottherealbatman opened this issue Aug 21, 2023 · 0 comments
Open

How to setup access log with different log level. #2193

nottherealbatman opened this issue Aug 21, 2023 · 0 comments

Comments

@nottherealbatman
Copy link

When setting up the access log you have to pass the write to it. Doing so it will take the loglevel of that writer which not always make sense. I want to be able to configure the access log to log non 200 responses as error and 200 as info. So that when I set the loglevel I only log what I need.

Is there a way to do so? The examples/documentation do not show this functionalty

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

No branches or pull requests

1 participant