Skip to content

Change default OutputLevel for PyAthena components from ALL to INFO

The PyAthena configuration attempts to retrieve the default OutputLevel from the MessageSvc via the ServiceMgr:
https://gitlab.cern.ch/atlas/athena/-/blob/master/Control/AthenaPython/python/PyAthenaComps.py#L108-110
https://gitlab.cern.ch/atlas/athena/-/blob/master/Control/AthenaPython/python/Configurables.py#L117-119
https://gitlab.cern.ch/atlas/athena/-/blob/master/Control/AthenaPython/python/Configurables.py#L30-40
This works fine for the legacy configuration, but not for the ComponentAccumulator-based configuration, where the ServiceMgr is not available. In the case that SerivceMgr is not available the default value of 0 (ALL) is used. This MR updates the default to 3 (INFO). There is still the issue that PyAthena components inherit from legacy Configurables, but this can be dealt with in a future merge request.

Edited by John Derek Chapman

Merge request reports

Loading