Skip to content
Snippets Groups Projects
Commit b2a0d7a3 authored by Will Buttinger's avatar Will Buttinger
Browse files

Update SuppressLogging.py - fix bug that was preventing storegate dumping while suppressing logging

parent f3bafcf2
No related branches found
No related tags found
1 merge request!66678Update SuppressLogging.py - fix bug that was preventing storegate dumping while suppressing logging
Pipeline #6382029 passed
MessageSvc.setWarning += {"ClassIDSvc",
"PoolSvc",
"AthDictLoaderSvc",
......@@ -20,9 +19,9 @@ MessageSvc.setWarning += {"ClassIDSvc",
"AthRegSeq"};
#also silence storegates if not dumping
if not hasattr(StoreGateSvc,"Dump") or StoreGateSvc.Dump: MessageSvc.setWarning += ["StoreGateSvc"]
if not hasattr(StoreGateSvc,"Dump") or StoreGateSvc.Dump==False: MessageSvc.setWarning += ["StoreGateSvc"]
if hasattr(svcMgr,"InputMetaDataStore"):
if not hasattr(svcMgr.InputMetaDataStore,"Dump") or svcMgr.InputMetaDataStore.Dump: MessageSvc.setWarning += ["InputMetaDataStore"]
if not hasattr(svcMgr.InputMetaDataStore,"Dump") or svcMgr.InputMetaDataStore.Dump==False: MessageSvc.setWarning += ["InputMetaDataStore"]
MessageSvc.setError += ["HistogramPersistencySvc"] #even stricter for HistogramPersistencySvc too .. gives a silly/harmless warning otherwise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment