Use sane log_time_format
@@ -114,7 +114,13 @@ def console_logger(self):
from plextraktsync.config import CONFIG as config
from plextraktsync.console import console
- handler = RichHandler(console=console, show_time=config.log_console_time, show_path=False, highlighter=RichHighlighter())
+ handler = RichHandler(
+ console=console,
+ show_time=config.log_console_time,
+ log_time_format='[%Y-%m-%d %X]',
+ show_path=False,
+ highlighter=RichHighlighter(),
+ )
return handler
