Added line no to drydock message format for troubeshooting

Change-Id: I88c8cd6a56771cf6e97cfa874dc63963e247a890
This commit is contained in:
pd2839 2018-12-19 11:19:49 -06:00 committed by PRATEEK REDDY DODDA
parent 197a1e082f
commit d93d6d5a0a
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ def start_drydock(enable_keystone=True):
logger.setLevel(config.config_mgr.conf.logging.log_level)
ch = logging.StreamHandler()
formatter = logging.Formatter(
'%(asctime)s - %(levelname)s - %(filename)s:%(funcName)s - %(message)s'
'%(asctime)s - %(levelname)s - %(filename)s:%(lineno)d:%(funcName)s %(message)s'
)
ch.setFormatter(formatter)
logger.addHandler(ch)