summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Logging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Logging.py b/src/lib/Logging.py
index 3d77bdb97..63a2ce3e1 100644
--- a/src/lib/Logging.py
+++ b/src/lib/Logging.py
@@ -131,7 +131,7 @@ def setup_logging(procname, to_console=True, to_syslog=True, syslog_facility='lo
return
# add the handler to the root logger
if to_console:
- console = logging.StreamHandler()
+ console = logging.StreamHandler(sys.stdout)
console.setLevel(logging.DEBUG)
# tell the handler to use this format
console.setFormatter(TermiosFormatter())