Update app/utils/logging.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ordinary Hobbit 2025-07-26 19:33:13 +02:00 committed by GitHub
parent ffccf8fda0
commit 63859e8305
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,7 @@ class AppStructLogger(metaclass=SingletonMetaNoArgs):
_log_path = Path(f"{_log_date}_{os.getpid()}.log") _log_path = Path(f"{_log_date}_{os.getpid()}.log")
_handler = RotatingFileHandler( _handler = RotatingFileHandler(
filename=_log_path, filename=_log_path,
maxBytes=1000, maxBytes=10 * 1024 * 1024, # 10MB
backupCount=5, backupCount=5,
encoding="utf-8" encoding="utf-8"
) )