main.py: change default log rotation/retention settings

This commit is contained in:
Romain Bazile 2020-10-19 11:27:14 +02:00
parent 3629cde800
commit 2cf0ff8341

View file

@ -19,11 +19,11 @@ import os
logger.add(
# sys.stdout,
"PlanktoScope_{time}.log",
rotation="01:00",
retention="1 month",
rotation="5 MB",
retention="1 week",
compression=".tar.gz",
enqueue=True,
level="INFO",
level="DEBUG",
)
# The available level for the logger are as follows: