Skip to content
Snippets Groups Projects
Commit 9d6c3563 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

TrigServices: Use new "central" message source format

Use the new "central" MessageSvc source format. Also move the MessageSvc
initialization after the user job options to enforce our own settings.
parent 8246251f
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ def setupMessageSvc():
MessageSvc = svcMgr.MessageSvc
MessageSvc.OutputLevel = theApp.OutputLevel
MessageSvc.Format = "% F%40W%S%4W%R%e%s%8W%R%T %0W%M"
MessageSvc.Format = "% F%40W%C%4W%R%e%s%8W%R%T %0W%M"
# Add timestamp when running in partition
if os.environ.get('TDAQ_PARTITION','') != 'athenaHLT':
MessageSvc.Format = "%t " + MessageSvc.Format
......
......@@ -23,9 +23,6 @@ def setupCommonServices():
# Create our own logger
log = logging.getLogger( 'TriggerUnixStandardSetup::setupCommonServices:' )
from TrigServices.TrigServicesConfig import setupMessageSvc
setupMessageSvc()
# Do the default Atlas job configuration first
import AthenaCommon.AtlasUnixStandardJob # noqa: F401
......@@ -179,6 +176,9 @@ def setupCommonServicesEnd():
# Set default properties for some important services after all user job options
log.info('Configure core services for online running')
from TrigServices.TrigServicesConfig import setupMessageSvc
setupMessageSvc()
svcMgr.CoreDumpSvc.CoreDumpStream = "stdout"
svcMgr.CoreDumpSvc.CallOldHandler = False
svcMgr.CoreDumpSvc.StackTrace = True
......
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