Skip to content

Refactor logging

Bengfort requested to merge refactor-logging into main

Our logging configuration has been unchanged since it was added in !52 (merged). Back then I already wasn't too happy with it so now I am finally trying to improve the situation. The main issues are:

  • The configuration is complex (it doesn't even fit on my screen). I feel like something as established as logging should be easy to set up correctly.
  • In order to log to files we need a writable filesystem which requires extra work with docker
  • Hardly anyone looks at the log files because they are not integrated with tooling like journald or greylog

My proposal here is to restructure the configuration a bit and remove the debug log file. I will create a second MR with some more radical changes.

Merge request reports