mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Let log files be a little bigger, 50Mb is not that much anyway.
This commit is contained in:
parent
5841521133
commit
d1b4523733
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue