From 939f6842d34857f67da33a18718c6566e7216a47 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 26 Jun 2026 16:00:25 +0800 Subject: [PATCH] chore(logging): remove loguru gzip compression Delete compression="gz" from both debug and info file sinks so logs are kept as plain text files. Simplifies log inspection and avoids the small CPU overhead of nightly gzip compression. --- common/logging.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/logging.py b/common/logging.py index 8489697..e02377d 100644 --- a/common/logging.py +++ b/common/logging.py @@ -48,7 +48,6 @@ logger.add( level="DEBUG", # always full at the file level for audit enqueue=True, retention="30 days", - compression="gz", colorize=True, ) @@ -57,6 +56,5 @@ logger.add( level=settings.log_level, enqueue=True, retention="30 days", - compression="gz", encoding="utf-8", ) \ No newline at end of file