Skip to content

Commit 69d69e6

Browse files
committed
Keep more log files
1 parent 79acb35 commit 69d69e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def format(self, record):
127127

128128
def configure_logging(name, level=None):
129129
global ch_debug, log_level
130-
ch_debug = RotatingFileHandler(name, mode="a+", maxBytes=48000, backupCount=1)
130+
ch_debug = RotatingFileHandler(name, mode="a+", maxBytes=78000, backupCount=10)
131131

132132
formatter_debug = FileFormatter(
133133
"%(asctime)s %(name)s[%(lineno)d] - %(levelname)s: %(message)s",

0 commit comments

Comments
 (0)