From 2cf0ff834152eae3878a3606913c3248ac076c98 Mon Sep 17 00:00:00 2001 From: Romain Bazile Date: Mon, 19 Oct 2020 11:27:14 +0200 Subject: [PATCH] main.py: change default log rotation/retention settings --- scripts/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/main.py b/scripts/main.py index 9356dd3..aa1fb14 100644 --- a/scripts/main.py +++ b/scripts/main.py @@ -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: