Skip to content

Extend the setupLoggingLevels-method to allow setting the OutputLevel of converters

Walter Lampl requested to merge wlampl/athena:converterOutputLevelSetting into master

Setting the OutputLevel of a Converter is notoriously hard because Gaudi-Converters have no properties. The only way is to tell the MessageSvc that a particular component should have a particular OutputLevel.

This MR exends the functionality of the setupLoggingLevels method in AthenaConfiguration/utils.py to allow setting the OutputLevel also for components not known as config-time (like converters).

With this change, one can run for example: ATHENA_CORE_NUMBER=4 Reco_tf.py '--CA' '--AMI' 'q442' --multithreaded --preExec "ConfigFlags.Exec.DebugMessageComponents='AtlasIDDetDescrCnv'"

to enable DEBUG-level messaging from the AtlasIDDetDescrCnv

cc @mnowak since we discussed this issue over lunch ....

Merge request reports