Skip to content
Snippets Groups Projects
Unverified Commit 63267446 authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Stop adding a handler to http.server logger manually


This was causing duplicate log lines.

Signed-off-by: default avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent d1e420bf
No related branches found
No related tags found
No related merge requests found
......@@ -122,9 +122,6 @@ def configure_logging():
for logger_name in quiet_loggers:
logging.getLogger(logger_name).setLevel(logging.INFO)
http_logger = logging.getLogger("http.server")
http_logger.addHandler(handler)
def shorten(text: str, width: int = 512, placeholder: str = "...") -> str:
r"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment