Rotate log at 10M instead of 100k
This commit is contained in:
parent
cc98052df8
commit
19909d7aca
@ -25,7 +25,7 @@ def setup_debug_logging_to_file():
|
||||
root.setLevel(logging.DEBUG)
|
||||
formatter = logging.Formatter(settings.DEBUG_LOG_FORMAT)
|
||||
handler = logging.handlers.RotatingFileHandler(
|
||||
settings.DEBUG_LOG_FILENAME, maxBytes=102400, backupCount=3)
|
||||
settings.DEBUG_LOG_FILENAME, maxBytes=10485760, backupCount=3)
|
||||
handler.setFormatter(formatter)
|
||||
root.addHandler(handler)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user