From 2396161294c3c244625d1720e4f37493878e8fce Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sun, 26 Nov 2006 17:24:12 +0000 Subject: Switch logging output stream to stdout git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2542 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()) -- cgit v1.2.3-1-g7c22