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:
parent
3a1eab7383
commit
9d6a2dec37
@ -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
|
||||
---------
|
||||
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user