summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpd2839 <pd2839@att.com>2018-12-19 11:19:49 -0600
committerPRATEEK REDDY DODDA <pd2839@att.com>2019-01-08 20:41:45 +0000
commitd93d6d5a0a370ced536180612d1ade708e29cd47 (patch)
treee3a9301259417915d82c037cc4281cbb68b5eeca
parent197a1e082f2dc9db86282c1b2e549b1751cf1de1 (diff)
Added line no to drydock message format for troubeshootingHEADmaster
Notes
Notes (review): Code-Review+1: Evgeniy L <eli@mirantis.com> Code-Review+1: Dustin Specker <dustin.specker@att.com> Code-Review+2: Scott Hussey <sthussey@att.com> Code-Review+2: Pete Birley <petebirley@gmail.com> Workflow+1: Matt McEuen <matt.mceuen@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 08 Jan 2019 21:35:01 +0000 Reviewed-on: https://review.openstack.org/626367 Project: openstack/airship-drydock Branch: refs/heads/master
-rw-r--r--python/drydock_provisioner/drydock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/drydock_provisioner/drydock.py b/python/drydock_provisioner/drydock.py
index 04ff518..713ccda 100644
--- a/python/drydock_provisioner/drydock.py
+++ b/python/drydock_provisioner/drydock.py
@@ -53,7 +53,7 @@ def start_drydock(enable_keystone=True):
53 logger.setLevel(config.config_mgr.conf.logging.log_level) 53 logger.setLevel(config.config_mgr.conf.logging.log_level)
54 ch = logging.StreamHandler() 54 ch = logging.StreamHandler()
55 formatter = logging.Formatter( 55 formatter = logging.Formatter(
56 '%(asctime)s - %(levelname)s - %(filename)s:%(funcName)s - %(message)s' 56 '%(asctime)s - %(levelname)s - %(filename)s:%(lineno)d:%(funcName)s %(message)s'
57 ) 57 )
58 ch.setFormatter(formatter) 58 ch.setFormatter(formatter)
59 logger.addHandler(ch) 59 logger.addHandler(ch)