From df352aeb1487a2fb32adb2c8db816b2ae5475268 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Fri, 23 Oct 2020 16:55:45 -0500 Subject: [PATCH] Removed file based destinations from MessageLogger_cfi The destinations were rarely used. Where they were used were updated to explicitly declare the destinations. --- .../test/TkVoltageMapCreator_cfg.py | 17 +++++++------ .../apvcyclephaseproducer_test_GR09_cfg.py | 17 +++++++------ .../test/apvcyclephaseproducer_test_db_cfg.py | 17 +++++++------ .../apvcyclephaseproducer_test_dbfile_cfg.py | 17 +++++++------ ...vcyclephaseproducer_test_fakesource_cfg.py | 17 +++++++------ .../test/trackerdpganalysis_cfg.py | 20 +++++++++------- .../GEMRawToDigi/test/unpackData-GEM.py | 4 ++-- .../test/L1GtRecord_cfg.py | 1 + .../test/L1GtTriggerMenuLite_cfg.py | 1 + .../utils/unpackBuffers-CaloStage2.py | 12 ++++++---- .../utils/unpackData-CaloStage1.py | 12 ++++++---- .../utils/unpackData-CaloStage2.py | 12 ++++++---- .../MessageLogger_ReleaseValidation_cfi.py | 20 +--------------- .../python/MessageLogger_cfi.py | 24 ++----------------- FWCore/MessageService/test/u32_cfg.py | 1 + .../test/generatePattern-Stage2MP.py | 12 ++++++---- .../L1TGlobal/test/Raw2Digi_uGTEmulation.py | 12 ++++++---- .../test/l1tGlobalEmulation_FromRAW.py | 12 ++++++---- .../unpackBuffers-CaloStage2_uGTEmulation.py | 12 ++++++---- RecoMTD/DetLayers/test/mtd_cfg.py | 1 + 20 files changed, 119 insertions(+), 122 deletions(-) diff --git a/CalibTracker/SiStripDCS/test/TkVoltageMapCreator_cfg.py b/CalibTracker/SiStripDCS/test/TkVoltageMapCreator_cfg.py index 4f4adc5545fb5..972b2199e940f 100644 --- a/CalibTracker/SiStripDCS/test/TkVoltageMapCreator_cfg.py +++ b/CalibTracker/SiStripDCS/test/TkVoltageMapCreator_cfg.py @@ -4,14 +4,17 @@ process.load("FWCore.MessageService.MessageLogger_cfi") -process.MessageLogger.infos.placeholder = cms.untracked.bool(False) -process.MessageLogger.infos.threshold = cms.untracked.string("INFO") -process.MessageLogger.infos.default = cms.untracked.PSet( - limit = cms.untracked.int32(10000000) - ) -process.MessageLogger.infos.FwkReport = cms.untracked.PSet( - reportEvery = cms.untracked.int32(10000) +process.MessageLogger.destinations.append('infos') +process.MessageLogger.infos = cms.untracked.PSet( + placeholder = cms.untracked.bool(False), + threshold = cms.untracked.string("INFO"), + default = cms.untracked.PSet( + limit = cms.untracked.int32(10000000) + ), + FwkReport = cms.untracked.PSet( + reportEvery = cms.untracked.int32(10000) ) +) process.MessageLogger.cerr.threshold = cms.untracked.string("WARNING") diff --git a/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_GR09_cfg.py b/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_GR09_cfg.py index 3ba5faed46c02..914a7ec79cb3b 100644 --- a/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_GR09_cfg.py +++ b/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_GR09_cfg.py @@ -4,14 +4,17 @@ process.load("FWCore.MessageService.MessageLogger_cfi") -process.MessageLogger.infos.placeholder = cms.untracked.bool(False) -process.MessageLogger.infos.threshold = cms.untracked.string("INFO") -process.MessageLogger.infos.default = cms.untracked.PSet( - limit = cms.untracked.int32(10000000) - ) -process.MessageLogger.infos.FwkReport = cms.untracked.PSet( - reportEvery = cms.untracked.int32(10000) +process.MessageLogger.destinations.append('infos') +process.MessageLogger.infos = cms.untracked.PSet( + placeholder = cms.untracked.bool(False), + threshold = cms.untracked.string("INFO"), + default = cms.untracked.PSet( + limit = cms.untracked.int32(10000000) + ), + FwkReport = cms.untracked.PSet( + reportEvery = cms.untracked.int32(10000) ) +) process.MessageLogger.cerr.threshold = cms.untracked.string("WARNING") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) ) diff --git a/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_db_cfg.py b/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_db_cfg.py index ec4ca3c176161..f27c03b560068 100644 --- a/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_db_cfg.py +++ b/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_db_cfg.py @@ -16,14 +16,17 @@ process.load("FWCore.MessageService.MessageLogger_cfi") -process.MessageLogger.infos.placeholder = cms.untracked.bool(False) -process.MessageLogger.infos.threshold = cms.untracked.string("INFO") -process.MessageLogger.infos.default = cms.untracked.PSet( - limit = cms.untracked.int32(10000000) - ) -process.MessageLogger.infos.FwkReport = cms.untracked.PSet( - reportEvery = cms.untracked.int32(10000) +process.MessageLogger.destinations.append('infos') +process.MessageLogger.infos = cms.untracked.PSet( + placeholder = cms.untracked.bool(False), + threshold = cms.untracked.string("INFO"), + default = cms.untracked.PSet( + limit = cms.untracked.int32(10000000) + ), + FwkReport = cms.untracked.PSet( + reportEvery = cms.untracked.int32(10000) ) +) process.MessageLogger.cerr.threshold = cms.untracked.string("WARNING") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) diff --git a/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_dbfile_cfg.py b/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_dbfile_cfg.py index c0ef6e2f61aa0..b013ce6823872 100644 --- a/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_dbfile_cfg.py +++ b/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_dbfile_cfg.py @@ -4,14 +4,17 @@ process.load("FWCore.MessageService.MessageLogger_cfi") -process.MessageLogger.infos.placeholder = cms.untracked.bool(False) -process.MessageLogger.infos.threshold = cms.untracked.string("INFO") -process.MessageLogger.infos.default = cms.untracked.PSet( - limit = cms.untracked.int32(10000000) - ) -process.MessageLogger.infos.FwkReport = cms.untracked.PSet( - reportEvery = cms.untracked.int32(10000) +process.MessageLogger.destinations.append('infos') +process.MessageLogger.infos = cms.untracked.PSet( + placeholder = cms.untracked.bool(False), + threshold = cms.untracked.string("INFO"), + default = cms.untracked.PSet( + limit = cms.untracked.int32(10000000) + ), + FwkReport = cms.untracked.PSet( + reportEvery = cms.untracked.int32(10000) ) +) process.MessageLogger.cerr.threshold = cms.untracked.string("WARNING") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) diff --git a/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_fakesource_cfg.py b/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_fakesource_cfg.py index df217cf45dc48..7bea95c1be5eb 100644 --- a/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_fakesource_cfg.py +++ b/DPGAnalysis/SiStripTools/test/apvcyclephaseproducer_test_fakesource_cfg.py @@ -4,14 +4,17 @@ process.load("FWCore.MessageService.MessageLogger_cfi") -process.MessageLogger.infos.placeholder = cms.untracked.bool(False) -process.MessageLogger.infos.threshold = cms.untracked.string("INFO") -process.MessageLogger.infos.default = cms.untracked.PSet( - limit = cms.untracked.int32(10000000) - ) -process.MessageLogger.infos.FwkReport = cms.untracked.PSet( - reportEvery = cms.untracked.int32(10000) +process.MessageLogger.destinations.append('infos') +process.MessageLogger.infos = cms.untracked.PSet( + placeholder = cms.untracked.bool(False), + threshold = cms.untracked.string("INFO"), + default = cms.untracked.PSet( + limit = cms.untracked.int32(10000000) + ), + FwkReport = cms.untracked.PSet( + reportEvery = cms.untracked.int32(10000) ) +) process.MessageLogger.cerr.threshold = cms.untracked.string("WARNING") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) ) diff --git a/DPGAnalysis/SiStripTools/test/trackerdpganalysis_cfg.py b/DPGAnalysis/SiStripTools/test/trackerdpganalysis_cfg.py index 2edf93949b052..9664cc018e064 100644 --- a/DPGAnalysis/SiStripTools/test/trackerdpganalysis_cfg.py +++ b/DPGAnalysis/SiStripTools/test/trackerdpganalysis_cfg.py @@ -4,15 +4,17 @@ process.load("FWCore.MessageService.MessageLogger_cfi") - -process.MessageLogger.infos.placeholder = cms.untracked.bool(False) -process.MessageLogger.infos.threshold = cms.untracked.string("INFO") -process.MessageLogger.infos.default = cms.untracked.PSet( - limit = cms.untracked.int32(10000000) - ) -process.MessageLogger.infos.FwkReport = cms.untracked.PSet( - reportEvery = cms.untracked.int32(10000) - ) +process.MessageLogger.destinations.append('infos') +process.MessageLogger.infos = cms.untracked.PSet( + placeholder = cms.untracked.bool(False), + threshold = cms.untracked.string("INFO"), + default = cms.untracked.PSet( + limit = cms.untracked.int32(10000000) + ), + FwkReport = cms.untracked.PSet( + reportEvery = cms.untracked.int32(10000) + ) +) process.MessageLogger.cerr.threshold = cms.untracked.string("WARNING") diff --git a/EventFilter/GEMRawToDigi/test/unpackData-GEM.py b/EventFilter/GEMRawToDigi/test/unpackData-GEM.py index a0451debf43d9..cbff040284099 100644 --- a/EventFilter/GEMRawToDigi/test/unpackData-GEM.py +++ b/EventFilter/GEMRawToDigi/test/unpackData-GEM.py @@ -124,8 +124,8 @@ #process.MessageLogger.categories.append('L1TCaloEvents') if (options.dumpRaw): - process.MessageLogger.infos.placeholder = cms.untracked.bool(False) - process.MessageLogger.infos.INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)) + process.MessageLogger.destinations.append('infos') + process.MessageLogger.infos = cms.untracked.PSet(INFO = cms.untracked.PSet(limit = cms.untracked.int32(0))) if (options.debug): # process.MessageLogger.debugModules = cms.untracked.vstring('L1TRawToDigi:caloStage2Digis', 'MP7BufferDumpToRaw:stage2MPRaw', 'MP7BufferDumpToRaw:stage2DemuxRaw') diff --git a/EventFilter/L1GlobalTriggerRawToDigi/test/L1GtRecord_cfg.py b/EventFilter/L1GlobalTriggerRawToDigi/test/L1GtRecord_cfg.py index 2f69651f07772..5951c18d0d166 100644 --- a/EventFilter/L1GlobalTriggerRawToDigi/test/L1GtRecord_cfg.py +++ b/EventFilter/L1GlobalTriggerRawToDigi/test/L1GtRecord_cfg.py @@ -434,6 +434,7 @@ process.MessageLogger.cerr.FwkReport.limit = 0 process.MessageLogger.cerr.FwkSummary.limit = 0 +process.MessageLogger.destinations.extend('debugs', 'warnings', 'errors') process.MessageLogger.debugs = cms.untracked.PSet( threshold = cms.untracked.string('DEBUG'), DEBUG = cms.untracked.PSet( limit = cms.untracked.int32(0) ), diff --git a/EventFilter/L1GlobalTriggerRawToDigi/test/L1GtTriggerMenuLite_cfg.py b/EventFilter/L1GlobalTriggerRawToDigi/test/L1GtTriggerMenuLite_cfg.py index c128f6ac3fe6c..43f2db6f6309f 100644 --- a/EventFilter/L1GlobalTriggerRawToDigi/test/L1GtTriggerMenuLite_cfg.py +++ b/EventFilter/L1GlobalTriggerRawToDigi/test/L1GtTriggerMenuLite_cfg.py @@ -62,6 +62,7 @@ process.MessageLogger.cerr.FwkReport.limit = 0 process.MessageLogger.cerr.FwkSummary.limit = 0 +process.MessageLogger.destinations.extend('debugs', 'warnings', 'errors') process.MessageLogger.debugs = cms.untracked.PSet( threshold = cms.untracked.string('DEBUG'), DEBUG = cms.untracked.PSet( limit = cms.untracked.int32(0) ), diff --git a/EventFilter/L1TRawToDigi/utils/unpackBuffers-CaloStage2.py b/EventFilter/L1TRawToDigi/utils/unpackBuffers-CaloStage2.py index cd9e529542737..017e7af276310 100644 --- a/EventFilter/L1TRawToDigi/utils/unpackBuffers-CaloStage2.py +++ b/EventFilter/L1TRawToDigi/utils/unpackBuffers-CaloStage2.py @@ -165,11 +165,13 @@ process.MessageLogger.suppressInfo = cms.untracked.vstring('Geometry', 'AfterSource') if (options.dump): - process.MessageLogger.infos.placeholder = cms.untracked.bool(False) - process.MessageLogger.infos.INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)) - process.MessageLogger.infos.L1TCaloEvents = cms.untracked.PSet( - optionalPSet = cms.untracked.bool(True), - limit = cms.untracked.int32(10000) + process.MessageLogger.destinations.append('infos') + process.MessageLogger.infos = cms.untracked.PSet(placeholder = cms.untracked.bool(False), + INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)), + L1TCaloEvents = cms.untracked.PSet( + optionalPSet = cms.untracked.bool(True), + limit = cms.untracked.int32(10000) + ) ) if (options.debug): diff --git a/EventFilter/L1TRawToDigi/utils/unpackData-CaloStage1.py b/EventFilter/L1TRawToDigi/utils/unpackData-CaloStage1.py index 38206ab2a2c24..b8bd61ee8b615 100644 --- a/EventFilter/L1TRawToDigi/utils/unpackData-CaloStage1.py +++ b/EventFilter/L1TRawToDigi/utils/unpackData-CaloStage1.py @@ -95,11 +95,13 @@ process.MessageLogger.categories.append('L1TCaloEvents') process.MessageLogger.suppressInfo = cms.untracked.vstring('Geometry', 'AfterSource') if (options.dumpRaw or options.dumpDigis): - process.MessageLogger.infos.placeholder = cms.untracked.bool(False) - process.MessageLogger.infos.INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)) - process.MessageLogger.infos.L1TCaloEvents = cms.untracked.PSet( - optionalPSet = cms.untracked.bool(True), - limit = cms.untracked.int32(10000) + process.MessageLogger.destinations.append('infos') + process.MessageLogger.infos = cms.untracked.PSet(placeholder = cms.untracked.bool(False), + INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)), + L1TCaloEvents = cms.untracked.PSet( + optionalPSet = cms.untracked.bool(True), + limit = cms.untracked.int32(10000) + ) ) if (options.debug): diff --git a/EventFilter/L1TRawToDigi/utils/unpackData-CaloStage2.py b/EventFilter/L1TRawToDigi/utils/unpackData-CaloStage2.py index ab6ab133a8ab3..2076ad80dbffd 100644 --- a/EventFilter/L1TRawToDigi/utils/unpackData-CaloStage2.py +++ b/EventFilter/L1TRawToDigi/utils/unpackData-CaloStage2.py @@ -127,11 +127,13 @@ process.MessageLogger.suppressInfo = cms.untracked.vstring('Geometry', 'AfterSource') if (options.dumpRaw): - process.MessageLogger.infos.placeholder = cms.untracked.bool(False) - process.MessageLogger.infos.INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)) - process.MessageLogger.infos.L1TCaloEvents = cms.untracked.PSet( - optionalPSet = cms.untracked.bool(True), - limit = cms.untracked.int32(10000) + process.Messagelogger.destinations.append('infos') + process.MessageLogger.infos = cms.untracked.PSet( + INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)), + L1TCaloEvents = cms.untracked.PSet( + optionalPSet = cms.untracked.bool(True), + limit = cms.untracked.int32(10000) + ) ) if (options.debug): diff --git a/FWCore/MessageService/python/MessageLogger_ReleaseValidation_cfi.py b/FWCore/MessageService/python/MessageLogger_ReleaseValidation_cfi.py index ec9e3ab40ebec..fb246309a348e 100644 --- a/FWCore/MessageService/python/MessageLogger_ReleaseValidation_cfi.py +++ b/FWCore/MessageService/python/MessageLogger_ReleaseValidation_cfi.py @@ -3,21 +3,12 @@ MessageLogger = cms.Service("MessageLogger", suppressInfo = cms.untracked.vstring(), suppressFwkInfo = cms.untracked.vstring(), - debugs = cms.untracked.PSet( - placeholder = cms.untracked.bool(True) - ), suppressDebug = cms.untracked.vstring(), cout = cms.untracked.PSet( placeholder = cms.untracked.bool(True) ), - warnings = cms.untracked.PSet( - placeholder = cms.untracked.bool(True) - ), default = cms.untracked.PSet( - ), - errors = cms.untracked.PSet( - placeholder = cms.untracked.bool(True) ), cerr = cms.untracked.PSet( INFO = cms.untracked.PSet( @@ -46,16 +37,7 @@ threshold = cms.untracked.string('INFO'), output = cms.untracked.string('cerr') ), - infos = cms.untracked.PSet( - Root_NoDictionary = cms.untracked.PSet( - limit = cms.untracked.int32(0) - ), - placeholder = cms.untracked.bool(True) - ), - destinations = cms.untracked.vstring('warnings', - 'errors', - 'infos', - 'debugs', + destinations = cms.untracked.vstring( 'cout', 'cerr'), debugModules = cms.untracked.vstring(), diff --git a/FWCore/MessageService/python/MessageLogger_cfi.py b/FWCore/MessageService/python/MessageLogger_cfi.py index 9f2a995bb90c8..6cbc7f24e17d7 100644 --- a/FWCore/MessageService/python/MessageLogger_cfi.py +++ b/FWCore/MessageService/python/MessageLogger_cfi.py @@ -3,25 +3,16 @@ MessageLogger = cms.Service("MessageLogger", suppressInfo = cms.untracked.vstring(), suppressFwkInfo = cms.untracked.vstring(), - debugs = cms.untracked.PSet( - placeholder = cms.untracked.bool(True) - ), suppressDebug = cms.untracked.vstring(), cout = cms.untracked.PSet( placeholder = cms.untracked.bool(True) ), - warnings = cms.untracked.PSet( - placeholder = cms.untracked.bool(True) - ), default = cms.untracked.PSet( - ), - errors = cms.untracked.PSet( - placeholder = cms.untracked.bool(True) ), cerr = cms.untracked.PSet( optionalPSet = cms.untracked.bool(True), - INFO = cms.untracked.PSet( + INFO = cms.untracked.PSet( limit = cms.untracked.int32(0) ), noTimeStamps = cms.untracked.bool(False), @@ -51,18 +42,7 @@ threshold = cms.untracked.string('WARNING'), output = cms.untracked.string('cerr') ), - infos = cms.untracked.PSet( - placeholder = cms.untracked.bool(True), - optionalPSet = cms.untracked.bool(True), - Root_NoDictionary = cms.untracked.PSet( - optionalPSet = cms.untracked.bool(True), - limit = cms.untracked.int32(0) - ), - ), - destinations = cms.untracked.vstring('warnings', - 'errors', - 'infos', - 'debugs', + destinations = cms.untracked.vstring( 'cout', 'cerr'), debugModules = cms.untracked.vstring(), diff --git a/FWCore/MessageService/test/u32_cfg.py b/FWCore/MessageService/test/u32_cfg.py index 61ac697518949..7c6b4af071edf 100644 --- a/FWCore/MessageService/test/u32_cfg.py +++ b/FWCore/MessageService/test/u32_cfg.py @@ -14,6 +14,7 @@ process.load("FWCore.MessageService.MessageLogger_cfi") +process.MessageLogger.destinations.append('errors') process.MessageLogger.errors = cms.untracked.PSet( threshold = cms.untracked.string('ERROR'), default = cms.untracked.PSet( diff --git a/L1Trigger/L1TCalorimeter/test/generatePattern-Stage2MP.py b/L1Trigger/L1TCalorimeter/test/generatePattern-Stage2MP.py index 28796377dbb76..8f3e7e5e685e8 100644 --- a/L1Trigger/L1TCalorimeter/test/generatePattern-Stage2MP.py +++ b/L1Trigger/L1TCalorimeter/test/generatePattern-Stage2MP.py @@ -148,11 +148,13 @@ process.MessageLogger.suppressInfo = cms.untracked.vstring('Geometry', 'AfterSource') if (options.dump): - process.MessageLogger.infos.placeholder = cms.untracked.bool(False) - process.MessageLogger.infos.INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)) - process.MessageLogger.infos.L1TCaloEvents = cms.untracked.PSet( - optionalPSet = cms.untracked.bool(True), - limit = cms.untracked.int32(10000) + process.MessageLogger.destinations.append('infos') + process.MessageLogger.infos = cms.untracked.PSet( + INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)), + L1TCaloEvents = cms.untracked.PSet( + optionalPSet = cms.untracked.bool(True), + limit = cms.untracked.int32(10000) + ) ) if (options.debug): diff --git a/L1Trigger/L1TGlobal/test/Raw2Digi_uGTEmulation.py b/L1Trigger/L1TGlobal/test/Raw2Digi_uGTEmulation.py index a13e4c270163b..246542ff5cae8 100644 --- a/L1Trigger/L1TGlobal/test/Raw2Digi_uGTEmulation.py +++ b/L1Trigger/L1TGlobal/test/Raw2Digi_uGTEmulation.py @@ -81,11 +81,13 @@ process.MessageLogger.suppressInfo = cms.untracked.vstring('Geometry', 'AfterSource') if (options.dump): - process.MessageLogger.infos.placeholder = cms.untracked.bool(False) - process.MessageLogger.infos.INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)) - process.MessageLogger.infos.L1TCaloEvents = cms.untracked.PSet( - optionalPSet = cms.untracked.bool(True), - limit = cms.untracked.int32(10000) + process.MessageLogger.destinations.append('infos') + process.MessageLogger.infos = cms.untracked.PSet( + INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)), + L1TCaloEvents = cms.untracked.PSet( + optionalPSet = cms.untracked.bool(True), + limit = cms.untracked.int32(10000) + ) ) if (options.debug): diff --git a/L1Trigger/L1TGlobal/test/l1tGlobalEmulation_FromRAW.py b/L1Trigger/L1TGlobal/test/l1tGlobalEmulation_FromRAW.py index dd7eff7e2cb2d..63fc991f6c63d 100644 --- a/L1Trigger/L1TGlobal/test/l1tGlobalEmulation_FromRAW.py +++ b/L1Trigger/L1TGlobal/test/l1tGlobalEmulation_FromRAW.py @@ -135,11 +135,13 @@ process.MessageLogger.suppressInfo = cms.untracked.vstring('Geometry', 'AfterSource') if (options.dumpRaw): - process.MessageLogger.infos.placeholder = cms.untracked.bool(False) - process.MessageLogger.infos.INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)) - process.MessageLogger.infos.L1TCaloEvents = cms.untracked.PSet( - optionalPSet = cms.untracked.bool(True), - limit = cms.untracked.int32(10000) + process.MessageLogger.destinations.append('infos') + process.MessageLogger.infos = cms.untracked.PSet( + INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)), + L1TCaloEvents = cms.untracked.PSet( + optionalPSet = cms.untracked.bool(True), + limit = cms.untracked.int32(10000) + ) ) if (options.debug): diff --git a/L1Trigger/L1TGlobal/test/unpackBuffers-CaloStage2_uGTEmulation.py b/L1Trigger/L1TGlobal/test/unpackBuffers-CaloStage2_uGTEmulation.py index d368253d625a4..f1fca870b2895 100644 --- a/L1Trigger/L1TGlobal/test/unpackBuffers-CaloStage2_uGTEmulation.py +++ b/L1Trigger/L1TGlobal/test/unpackBuffers-CaloStage2_uGTEmulation.py @@ -155,11 +155,13 @@ process.MessageLogger.suppressInfo = cms.untracked.vstring('Geometry', 'AfterSource') if (options.dump): - process.MessageLogger.infos.placeholder = cms.untracked.bool(False) - process.MessageLogger.infos.INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)) - process.MessageLogger.infos.L1TCaloEvents = cms.untracked.PSet( - optionalPSet = cms.untracked.bool(True), - limit = cms.untracked.int32(10000) + process.MessageLogger.destinations.append('infos') + process.MessageLogger.infos = cms.untracked.PSet( + INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)), + L1TCaloEvents = cms.untracked.PSet( + optionalPSet = cms.untracked.bool(True), + limit = cms.untracked.int32(10000) + ) ) if (options.debug): diff --git a/RecoMTD/DetLayers/test/mtd_cfg.py b/RecoMTD/DetLayers/test/mtd_cfg.py index f0d18de6bff91..e00dd3f23b0e0 100644 --- a/RecoMTD/DetLayers/test/mtd_cfg.py +++ b/RecoMTD/DetLayers/test/mtd_cfg.py @@ -12,6 +12,7 @@ process.MessageLogger.statistics.append("debugs") process.MessageLogger.categories.append("MTDLayerDump") process.MessageLogger.categories.append("MTDDetLayers") +process.MessageLogger.destinations.append('debugs') process.MessageLogger.debugModules = cms.untracked.vstring("*") process.MessageLogger.debugs = cms.untracked.PSet( threshold = cms.untracked.string('DEBUG'),