From 728849964e7e334fda4f4e23c17f8560d9416cb1 Mon Sep 17 00:00:00 2001 From: Krytarik Raido Date: Sun, 21 Feb 2021 01:34:04 +0100 Subject: [PATCH] Logging: Fix oversight from the last logging refactor Signed-off-by: Mattia Rizzolo --- debian/changelog | 3 +++ ubuntutools/__init__.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 20b57ab..3740a2d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 24 Feb 2021 14:23:29 +0100 ubuntu-dev-tools (0.180) unstable; urgency=medium diff --git a/ubuntutools/__init__.py b/ubuntutools/__init__.py index eadee07..bb7a22d 100644 --- a/ubuntutools/__init__.py +++ b/ubuntutools/__init__.py @@ -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)