From 64c1d37c9c323b0ff135f45b2e86baa5c371ff0b Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 7 Feb 2018 12:10:16 -0500 Subject: [PATCH] use consistent log formatting for list-changes and validate Change-Id: I2b2357c8e1ce9c5bf27e5707d3a2dd3ed905e9f8 Signed-off-by: Doug Hellmann --- openstack_releases/cmds/list_changes.py | 2 +- openstack_releases/cmds/validate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack_releases/cmds/list_changes.py b/openstack_releases/cmds/list_changes.py index af291eb2b6..60fc3b9079 100644 --- a/openstack_releases/cmds/list_changes.py +++ b/openstack_releases/cmds/list_changes.py @@ -213,7 +213,7 @@ def main(): # Set up logging, including making some loggers quiet. logging.basicConfig( - format='%(levelname)7s:%(name)s: %(message)s', + format='%(levelname)7s: %(message)s', stream=sys.stdout, level=logging.DEBUG, ) diff --git a/openstack_releases/cmds/validate.py b/openstack_releases/cmds/validate.py index 41960cca19..1d18d4db55 100644 --- a/openstack_releases/cmds/validate.py +++ b/openstack_releases/cmds/validate.py @@ -1091,7 +1091,7 @@ def main(): # Set up logging, including making some loggers quiet. logging.basicConfig( - format='%(levelname)s:%(name)s: %(message)s', + format='%(levelname)7s: %(message)s', stream=sys.stdout, level=logging.DEBUG, )