summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2009-03-14 23:34:49 +0000
committerAndrew Resch <andrewresch@gmail.com>2009-03-14 23:34:49 +0000
commit027dd7bcef39ab284bd48f1f6eb62ab180aa7438 (patch)
treef56e457e03b5b25d72dd7a02be7ebbc64dda004a
parentec72ac57d779e00c94e3a747b0c6cb56dfa034e4 (diff)
downloaddeluge-027dd7bcef39ab284bd48f1f6eb62ab180aa7438.tar.gz
deluge-027dd7bcef39ab284bd48f1f6eb62ab180aa7438.tar.bz2
deluge-027dd7bcef39ab284bd48f1f6eb62ab180aa7438.zip
Don't always log to file in Windows
-rw-r--r--deluge/main.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/deluge/main.py b/deluge/main.py
index d52be12ff..99614d0cd 100644
--- a/deluge/main.py
+++ b/deluge/main.py
@@ -90,14 +90,6 @@ def start_ui():
if not os.path.exists(deluge.common.get_default_config_dir()):
os.makedirs(deluge.common.get_default_config_dir())
- # Always log to a file in Windows
- if deluge.common.windows_check() and not options.logfile:
- if options.config:
- options.logfile = os.path.join(options.config, "deluge.log")
- else:
- config_dir = deluge.common.get_default_config_dir()
- options.logfile = os.path.join(config_dir, "deluge.log")
-
# Setup the logger
deluge.log.setupLogger(level=options.loglevel, filename=options.logfile)
if options.logfile: