Skip to content
Snippets Groups Projects

Turn off extra output

Merged Dan Guest requested to merge dguest/athena:quiet into main
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaCommon.Constants import INFO
def MainServicesMiniCfg(flags, loopMgr='AthenaEventLoopMgr', masterSequence='AthAlgSeq'):
@@ -267,6 +268,10 @@ def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr'):
cfg.setAppProperty('AuditAlgorithms', True)
cfg.setAppProperty('InitializationLoopCheck', False)
cfg.setAppProperty('EvtMax', flags.Exec.MaxEvents)
if flags.Exec.OutputLevel > INFO:
# this turns off the appMgr spalsh
cfg.setAppProperty('AppName', '')
cfg.setAppProperty('OutputLevel', flags.Exec.OutputLevel)
if flags.Exec.DebugStage != "":
cfg.setDebugStage(flags.Exec.DebugStage)
Loading