From 5590c31ace45c83c3a0c23252aa2932f8b299aef Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Wed, 27 Apr 2016 08:20:58 +0100 Subject: [PATCH] [Daemon] Fix unable to use uppercase log level --- deluge/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/main.py b/deluge/main.py index cf31a52fb..4b94a1131 100644 --- a/deluge/main.py +++ b/deluge/main.py @@ -179,6 +179,8 @@ this should be an IP address", metavar="IFACE", # Setup the logger if options.quiet: options.loglevel = "none" + if options.loglevel: + options.loglevel = options.loglevel.lower() if options.logfile: # Try to create the logfile's directory if it doesn't exist try: