From f63707782418c014d3275221107c1811029c60f1 Mon Sep 17 00:00:00 2001
From: Walter Lampl <Walter.Lampl@cern.ch>
Date: Tue, 9 Feb 2021 14:18:02 +0100
Subject: [PATCH] Message format: Expand field-width for event-counter to 6

---
 Control/AthenaConfiguration/python/MainServicesConfig.py | 2 +-
 Reconstruction/RecExample/RecExCommon/share/RecoUtils.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Control/AthenaConfiguration/python/MainServicesConfig.py b/Control/AthenaConfiguration/python/MainServicesConfig.py
index 04528db14f41..f7eea1b7c6b6 100644
--- a/Control/AthenaConfiguration/python/MainServicesConfig.py
+++ b/Control/AthenaConfiguration/python/MainServicesConfig.py
@@ -97,7 +97,7 @@ def MainServicesCfg(cfgFlags, LoopMgr='AthenaEventLoopMgr'):
         # Migrated code from AtlasThreadedJob.py
         AuditorSvc=CompFactory.AuditorSvc
         msgsvc.defaultLimit = 0
-        msgsvc.Format = "% F%{:d}W%C%4W%R%e%s%8W%R%T %0W%M".format(cfgFlags.Common.MsgSourceLength)
+        msgsvc.Format = "% F%{:d}W%C%6W%R%e%s%8W%R%T %0W%M".format(cfgFlags.Common.MsgSourceLength)
 
         SG__HiveMgrSvc=CompFactory.SG.HiveMgrSvc
         hivesvc = SG__HiveMgrSvc("EventDataSvc")
diff --git a/Reconstruction/RecExample/RecExCommon/share/RecoUtils.py b/Reconstruction/RecExample/RecExCommon/share/RecoUtils.py
index 05a4f115db4c..5290668d772b 100644
--- a/Reconstruction/RecExample/RecExCommon/share/RecoUtils.py
+++ b/Reconstruction/RecExample/RecExCommon/share/RecoUtils.py
@@ -197,7 +197,7 @@ if not rec.OutputLevel.isDefault():
 
 #Adjust the message format for threaded vs serial jobs
 if jobproperties.ConcurrencyFlags.NumThreads() > 0:
-    ServiceMgr.MessageSvc.Format = "% F%50W%C%4W%R%e%s%8W%R%T %0W%M"
+    ServiceMgr.MessageSvc.Format = "% F%50W%C%6W%R%e%s%8W%R%T %0W%M"
 else:
     ServiceMgr.MessageSvc.Format = "% F%50W%C%8W%R%T %0W%M" 
 
-- 
GitLab