mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
Let log files be a little bigger, 50Mb is not that much anyway.
This commit is contained in:
parent
5841521133
commit
d1b4523733
@ -149,7 +149,7 @@ def setupLogger(level="error", filename=None, filemode="w"):
|
|||||||
import logging.handlers
|
import logging.handlers
|
||||||
handler = logging.handlers.RotatingFileHandler(
|
handler = logging.handlers.RotatingFileHandler(
|
||||||
filename, filemode,
|
filename, filemode,
|
||||||
maxBytes=5*1024*1024, # 5 Mb
|
maxBytes=50*1024*1024, # 50 Mb
|
||||||
backupCount=3,
|
backupCount=3,
|
||||||
encoding='utf-8',
|
encoding='utf-8',
|
||||||
delay=0
|
delay=0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user