Browse Source

Added line no to drydock message format for troubeshooting

Change-Id: I88c8cd6a56771cf6e97cfa874dc63963e247a890
pd2839 4 months ago
parent
commit
d93d6d5a0a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      python/drydock_provisioner/drydock.py

+ 1
- 1
python/drydock_provisioner/drydock.py View File

@@ -53,7 +53,7 @@ def start_drydock(enable_keystone=True):
53 53
     logger.setLevel(config.config_mgr.conf.logging.log_level)
54 54
     ch = logging.StreamHandler()
55 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 58
     ch.setFormatter(formatter)
59 59
     logger.addHandler(ch)

Loading…
Cancel
Save