From 0256d3b2a201c975b4d8cc45150117a07217a79d Mon Sep 17 00:00:00 2001 From: David Allada Date: Sun, 23 Mar 2025 16:51:47 +0000 Subject: [PATCH] Fix the comment from 10MB to 20MB --- common/logger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/logger.py b/common/logger.py index c03a210..b4940a4 100644 --- a/common/logger.py +++ b/common/logger.py @@ -118,10 +118,10 @@ def setup_logger(): # Add file logging _ = logger.add( - "/var/log/tabbyapi/{time}.log", # This will create the file in the project root + "/var/log/tabbyapi/{time}.log", level=LOG_LEVEL, format="{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {message}", - rotation="20 MB", # Rotate file when it reaches 10MB + rotation="20 MB", # Rotate file when it reaches 20MB retention="1 week", # Keep logs for 1 week compression="zip", # Compress rotated logs )