main.py: change default log rotation/retention settings
This commit is contained in:
parent
3629cde800
commit
2cf0ff8341
|
@ -19,11 +19,11 @@ import os
|
||||||
logger.add(
|
logger.add(
|
||||||
# sys.stdout,
|
# sys.stdout,
|
||||||
"PlanktoScope_{time}.log",
|
"PlanktoScope_{time}.log",
|
||||||
rotation="01:00",
|
rotation="5 MB",
|
||||||
retention="1 month",
|
retention="1 week",
|
||||||
compression=".tar.gz",
|
compression=".tar.gz",
|
||||||
enqueue=True,
|
enqueue=True,
|
||||||
level="INFO",
|
level="DEBUG",
|
||||||
)
|
)
|
||||||
|
|
||||||
# The available level for the logger are as follows:
|
# The available level for the logger are as follows:
|
||||||
|
|
Loading…
Reference in a new issue