summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-11-26 17:24:12 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-11-26 17:24:12 +0000
commit2396161294c3c244625d1720e4f37493878e8fce (patch)
tree539e554815dfdb00a02505f4682c315feef5ffeb
parent46cb96e0eb6122d50bb37fc25ac63dc6f0d30d82 (diff)
downloadbcfg2-2396161294c3c244625d1720e4f37493878e8fce.tar.gz
bcfg2-2396161294c3c244625d1720e4f37493878e8fce.tar.bz2
bcfg2-2396161294c3c244625d1720e4f37493878e8fce.zip
Switch logging output stream to stdout
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2542 ce84e21b-d406-0410-9b95-82705330c041
-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())