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

limit-request-line errors are not logged #2491

Closed
sergeypeloton opened this issue Jan 5, 2021 · 2 comments
Closed

limit-request-line errors are not logged #2491

sergeypeloton opened this issue Jan 5, 2021 · 2 comments

Comments

@sergeypeloton
Copy link
Contributor

For example when url is too long, gunicorn will respond with 400 and a short html, but access or error logs are not written.
This makes it harder to diagnose an issue when all you have is server side metrics/logs.

There are debug logs but debug level is too noisy to enable in production.

Does it make sense to add access/error/exception logging to handle_error for this class of issues?

@benoitc
Copy link
Owner

benoitc commented Jan 7, 2021

maybe a warning without the exception?

@sergeypeloton
Copy link
Contributor Author

Yeah that would work.

sergeypeloton added a commit to sergeypeloton/gunicorn that referenced this issue Jan 8, 2021
benoitc#2491 
Debug level might not be practical to enable in production.
@benoitc benoitc closed this as completed May 7, 2023
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

2 participants