We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a8c645a + 63859e8 commit 289883cCopy full SHA for 289883c
1 file changed
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