mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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
|
||||
handler = logging.handlers.RotatingFileHandler(
|
||||
filename, filemode,
|
||||
maxBytes=5*1024*1024, # 5 Mb
|
||||
maxBytes=50*1024*1024, # 50 Mb
|
||||
backupCount=3,
|
||||
encoding='utf-8',
|
||||
delay=0
|
||||
|
|
Loading…
Add table
Reference in a new issue