Have log output go to STDOUT by default

THe new logging framwork spit putput to STDERR by default (as that is
pythons default), but we used to have STDERR, so make it go there again.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
Sebastian Spaeth 2012-01-07 03:04:26 +01:00
parent 3a1eab7383
commit 9d6a2dec37
2 changed files with 4 additions and 1 deletions

View File

@ -22,6 +22,9 @@ New Features
Changes
-------
* Have console output go by default to STDOUT and not STDERR (regression
in 6.5.0)
Bug Fixes
---------

View File

@ -69,7 +69,7 @@ class UIBase(object):
Sets up things and adds them to self.logger.
:returns: The logging.Handler() for console output"""
# create console handler with a higher log level
ch = logging.StreamHandler()
ch = logging.StreamHandler(sys.stdout)
#ch.setLevel(logging.DEBUG)
# create formatter and add it to the handlers
self.formatter = logging.Formatter("%(message)s")