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.
Merge request reports
Activity
added 1 commit
- 30a8cf03 - Use logging instead of prints, enable timestamps
added 1 commit
- 5d0b364a - Don’t hardcode a random local IP address in the example config
enabled an automatic merge when the pipeline for 5d0b364a succeeds
enabled an automatic merge when the pipeline for 69ecd5dc succeeds
enabled an automatic merge when the pipeline for 35668139 succeeds
enabled an automatic merge when the pipeline for d296c08a succeeds