neuroinformatics-unit / movement

Python tools for analysing body movements across space and time
http://movement.neuroinformatics.dev
BSD 3-Clause "New" or "Revised" License
103 stars 8 forks source link

Add console handler for logging #337

Open niksirbi opened 3 hours ago

niksirbi commented 3 hours ago

Our current logging configuration only adds a rotating file handler, and does not configure a console handler. This means:

What we would actually want:

To achieve this behaviour, we need to add a console handler to our logger and set the appropriate log levels for both handlers.

niksirbi commented 3 hours ago

We could also use loguru or fancylog to reduce the amount of logging configuration we have to do on our side.

If we go with fancylog, we'd have to first address this issue.