MessageSvc format string in RecExUtils: Use new option to shorten the source-name
With this MR we use a new feature of the Gaudi MessageSvc in RecExCommon: Always print the name of the component emitting the message instead of its parents. With our deep stack of AlgoTools we often don't see the entire tool-chain, even if the component field is quite long.
This way, a message like
InDetSCT_Clusterization.InDetSCT_ConditionsSumm... INFO Database will be used.
becomes
InDetSCT_Clusterization...InDetSCT_TdaqEnabledTool INFO Database will be used.
The abbreviation strategy is as follows:
- If the field-width can accommodate the name of the last component, it will print it preceded by three dots and filling up the remaining width by printing the beginning of the input string
- If the field-width can not even accommodate the last component-name or if no dot is found, it will cut out the middle-part, eg print the beginning of the input string, three dots and the end of the input string
Merge request reports
Activity
added full-unit-tests label
This merge request affects 1 package:
- Reconstruction/RecExample/RecExCommon
This merge request affects 1 file:
- Reconstruction/RecExample/RecExCommon/share/RecoUtils.py
Adding @goetz as watcher
added Reconstruction master review-pending-level-1 labels
CI Result SUCCESS (hash cac4edc7)Athena AthSimulation AthGeneration AnalysisBase externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 23886]removed review-pending-level-1 label
- Resolved by Frank Winklmeier
Hi @fwinkl,
the global DEFAULT_FORMAT is defined in Gaudi. Updating MainServicesConfig.py (used by ComponentAccumulator) is in the pipeline.
mentioned in merge request !38569 (merged)
added review-pending-level-1 label
added review-pending-expert label and removed review-pending-level-1 label
added review-approved label and removed review-pending-expert label
mentioned in commit cc620d3d
added sweep:ignore label
mentioned in merge request !38868 (merged)