Skip to content

Commit

Permalink
Partially revert "unconditionally log request error"
Browse files Browse the repository at this point in the history
There is not need to excessively produce high-severity logs, while
there are ways to reach that point from entirely benign network errors.

This partially reverts commit 0b10cba.
  • Loading branch information
pajod committed Sep 5, 2024
1 parent ef94875 commit 27be287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gunicorn/workers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def handle_error(self, req, client, addr, exc):
if hasattr(req, "uri"):
self.log.exception("Error handling request %s", req.uri)
else:
self.log.exception("Error handling request (no URI read)")
self.log.debug("Error handling request (no URI read)")
status_int = 500
reason = "Internal Server Error"
mesg = ""
Expand Down

0 comments on commit 27be287

Please sign in to comment.