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

Use logging instead of prints, enable timestamps


The logging subsystem is more versatile and provides more features
than manual log prints. Timestamps are very often useful for tracking
down timing issues, enable them for the root logger.

This current logging configuration doesn’t include the module/logger
name in the message format as it clutters the logs. This may be
revisited later when the logging system is overhauled to support
structured logging and better tracing.

Quart/Hypercorn’s logger has its own log printing handler, so as we
currently only print logs on the stdout, we need to disable the
propagation to prevent access logs from being duplicated.

Signed-off-by: default avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent 4b862e11
No related branches found
No related tags found
1 merge request!30Use logging instead of prints, enable timestamps
Loading
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