Logging: Fix oversight from the last logging refactor

Signed-off-by: Mattia Rizzolo <mattia@debian.org>
This commit is contained in:
Krytarik Raido 2021-02-21 01:34:04 +01:00 committed by Mattia Rizzolo
parent 09537bd44d
commit 728849964e
No known key found for this signature in database
GPG Key ID: 0816B9E18C762BAD
2 changed files with 4 additions and 1 deletions

3
debian/changelog vendored
View File

@ -5,6 +5,9 @@ ubuntu-dev-tools (0.181) UNRELEASED; urgency=medium
[ Logan Rosen ]
* fix a couple of remaining issues from the py2→py3 move.
[ Krytarik Raido ]
* Fix typo in the logging configuration.
-- Mattia Rizzolo <mattia@debian.org> Wed, 24 Feb 2021 14:23:29 +0100
ubuntu-dev-tools (0.180) unstable; urgency=medium

View File

@ -46,7 +46,7 @@ def getLogger():
logger.addHandler(stdout_handler)
stderr_handler = logging.StreamHandler(stream=sys.stderr)
stdout_handler.setFormatter(fmt)
stderr_handler.setFormatter(fmt)
stderr_handler.setLevel(logging.INFO+1)
logger.addHandler(stderr_handler)