We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffccf8f commit 63859e8Copy full SHA for 63859e8
app/utils/logging.py
@@ -76,7 +76,7 @@ def __attrs_post_init__(self):
76
_log_path = Path(f"{_log_date}_{os.getpid()}.log")
77
_handler = RotatingFileHandler(
78
filename=_log_path,
79
- maxBytes=1000,
+ maxBytes=10 * 1024 * 1024, # 10MB
80
backupCount=5,
81
encoding="utf-8"
82
)
0 commit comments