mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
ui: fix setting capital log level
Whilst providing the log level as a lowercase string has worked for a long time trying to use DEBUG doesn't work, so lowercase the string first.
This commit is contained in:
parent
c1bf52e8d9
commit
e5576dff1e
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class _UI(object):
|
|||
self.__options.loglevel = "none"
|
||||
|
||||
# Setup the logger
|
||||
deluge.log.setupLogger(level=self.__options.loglevel, filename=self.__options.logfile)
|
||||
deluge.log.setupLogger(level=self.__options.loglevel.lower(), filename=self.__options.logfile)
|
||||
log = deluge.log.LOG
|
||||
|
||||
if self.__options.config:
|
||||
|
|
Loading…
Add table
Reference in a new issue