Skip to content

Commit 63859e8

Browse files
grillazzCopilot
andauthored
Update app/utils/logging.py
Co-authored-by: Copilot <[email protected]>
1 parent ffccf8f commit 63859e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/utils/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __attrs_post_init__(self):
7676
_log_path = Path(f"{_log_date}_{os.getpid()}.log")
7777
_handler = RotatingFileHandler(
7878
filename=_log_path,
79-
maxBytes=1000,
79+
maxBytes=10 * 1024 * 1024, # 10MB
8080
backupCount=5,
8181
encoding="utf-8"
8282
)

0 commit comments

Comments
 (0)