diff --git a/CondTools/SiPhase2Tracker/test/DTCCablingMapProducer_dump.py b/CondTools/SiPhase2Tracker/test/DTCCablingMapProducer_dump.py index 479a7ee61f563..51c067da2fe4a 100644 --- a/CondTools/SiPhase2Tracker/test/DTCCablingMapProducer_dump.py +++ b/CondTools/SiPhase2Tracker/test/DTCCablingMapProducer_dump.py @@ -4,16 +4,13 @@ process.load("FWCore.MessageLogger.MessageLogger_cfi") process.MessageLogger = cms.Service("MessageLogger", - destinations = cms.untracked.vstring( - 'cerr', - 'cout' - ), - cerr = cms.untracked.PSet( - threshold = cms.untracked.string('INFO') - ), - cout = cms.untracked.PSet( - threshold = cms.untracked.string('INFO') - ), + cerr = cms.untracked.PSet( + threshold = cms.untracked.string('INFO') + ), + cout = cms.untracked.PSet( + enable = cms.untracked.bool(True), + threshold = cms.untracked.string('INFO') + ) ) # Load CondDB service diff --git a/CondTools/SiPhase2Tracker/test/DTCCablingMapTestProducer_dump.py b/CondTools/SiPhase2Tracker/test/DTCCablingMapTestProducer_dump.py index ab40259d05ac9..e2e1862c79dd3 100644 --- a/CondTools/SiPhase2Tracker/test/DTCCablingMapTestProducer_dump.py +++ b/CondTools/SiPhase2Tracker/test/DTCCablingMapTestProducer_dump.py @@ -4,16 +4,13 @@ process.load("FWCore.MessageLogger.MessageLogger_cfi") process.MessageLogger = cms.Service("MessageLogger", - destinations = cms.untracked.vstring( - 'cerr', - 'cout' - ), - cerr = cms.untracked.PSet( - threshold = cms.untracked.string('INFO') - ), - cout = cms.untracked.PSet( - threshold = cms.untracked.string('INFO') - ), + cerr = cms.untracked.PSet( + threshold = cms.untracked.string('INFO') + ), + cout = cms.untracked.PSet( + enable = cms.untracked.bool(True), + threshold = cms.untracked.string('INFO') + ) ) # Load CondDB service diff --git a/CondTools/SiPixel/test/SiPixelBadModuleByHandBuilderFromROCList_cfg.py b/CondTools/SiPixel/test/SiPixelBadModuleByHandBuilderFromROCList_cfg.py index 81da2bc39406d..1c0e70d00a797 100644 --- a/CondTools/SiPixel/test/SiPixelBadModuleByHandBuilderFromROCList_cfg.py +++ b/CondTools/SiPixel/test/SiPixelBadModuleByHandBuilderFromROCList_cfg.py @@ -6,10 +6,13 @@ process.TrackerTopologyEP = cms.ESProducer("TrackerTopologyEP") process.MessageLogger = cms.Service("MessageLogger", + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), cout = cms.untracked.PSet( + enable = cms.untracked.bool(True), threshold = cms.untracked.string('INFO') - ), - destinations = cms.untracked.vstring('cout') + ) ) process.source = cms.Source("EmptyIOVSource", diff --git a/CondTools/SiPixel/test/SiPixelBadModuleByHandBuilder_cfg.py b/CondTools/SiPixel/test/SiPixelBadModuleByHandBuilder_cfg.py index 4bcb9432b93bc..b8e891beb46d6 100644 --- a/CondTools/SiPixel/test/SiPixelBadModuleByHandBuilder_cfg.py +++ b/CondTools/SiPixel/test/SiPixelBadModuleByHandBuilder_cfg.py @@ -7,10 +7,13 @@ process.TrackerTopologyEP = cms.ESProducer("TrackerTopologyEP") process.MessageLogger = cms.Service("MessageLogger", + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), cout = cms.untracked.PSet( + enable = cms.untracked.bool(True), threshold = cms.untracked.string('INFO') - ), - destinations = cms.untracked.vstring('cout') + ) ) process.source = cms.Source("EmptyIOVSource", diff --git a/CondTools/SiPixel/test/SiPixelCalibConfigurationObjectMaker_cfg.py b/CondTools/SiPixel/test/SiPixelCalibConfigurationObjectMaker_cfg.py index 358f8005d8267..727a37a33db76 100644 --- a/CondTools/SiPixel/test/SiPixelCalibConfigurationObjectMaker_cfg.py +++ b/CondTools/SiPixel/test/SiPixelCalibConfigurationObjectMaker_cfg.py @@ -18,7 +18,12 @@ input = cms.untracked.int32(1) ) process.MessageLogger = cms.Service("MessageLogger", - destinations = cms.untracked.vstring('cout') + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), + cout = cms.untracked.PSet( + enable = cms.untracked.bool(True) + ) ) process.PoolDBOutputService = cms.Service("PoolDBOutputService", diff --git a/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader_cfg.py b/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader_cfg.py index 94261d534bd63..884b95bfa1ba4 100644 --- a/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader_cfg.py +++ b/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader_cfg.py @@ -19,10 +19,13 @@ process.MessageLogger = cms.Service("MessageLogger", + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), cout = cms.untracked.PSet( + enable = cms.untracked.bool(True), threshold = cms.untracked.string('WARNING') - ), - destinations = cms.untracked.vstring('cout') + ) ) process.Timing = cms.Service("Timing") diff --git a/CondTools/SiPixel/test/SiPixelInclusiveReader_sqlite_cfg.py b/CondTools/SiPixel/test/SiPixelInclusiveReader_sqlite_cfg.py index 017406b576aed..ee6cf9c8a96d8 100644 --- a/CondTools/SiPixel/test/SiPixelInclusiveReader_sqlite_cfg.py +++ b/CondTools/SiPixel/test/SiPixelInclusiveReader_sqlite_cfg.py @@ -9,10 +9,13 @@ process.GlobalTag.globaltag = 'MC_31X_V3::All' process.MessageLogger = cms.Service("MessageLogger", + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), cout = cms.untracked.PSet( + enable = cms.untracked.bool(True), threshold = cms.untracked.string('INFO') - ), - destinations = cms.untracked.vstring('cout') + ) ) diff --git a/CondTools/SiPixel/test/SiPixelLorentzAngleReader_cfg.py b/CondTools/SiPixel/test/SiPixelLorentzAngleReader_cfg.py index 0a053ad8c5c97..00cadb169352a 100644 --- a/CondTools/SiPixel/test/SiPixelLorentzAngleReader_cfg.py +++ b/CondTools/SiPixel/test/SiPixelLorentzAngleReader_cfg.py @@ -19,10 +19,13 @@ process.MessageLogger = cms.Service("MessageLogger", + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), cout = cms.untracked.PSet( + enable = cms.untracked.bool(True), threshold = cms.untracked.string('WARNING') - ), - destinations = cms.untracked.vstring('cout') + ) ) process.Timing = cms.Service("Timing") diff --git a/CondTools/SiPixel/test/SiPixelVCalReader_cfg.py b/CondTools/SiPixel/test/SiPixelVCalReader_cfg.py old mode 100755 new mode 100644 index 3fa3bd2ac6853..a8ac21fb9fea5 --- a/CondTools/SiPixel/test/SiPixelVCalReader_cfg.py +++ b/CondTools/SiPixel/test/SiPixelVCalReader_cfg.py @@ -55,8 +55,13 @@ fileName = cms.string(outfile) ) process.MessageLogger = cms.Service("MessageLogger", - destinations = cms.untracked.vstring('cout'), - cout = cms.untracked.PSet(threshold = cms.untracked.string(threshold)) + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), + cout = cms.untracked.PSet( + enable = cms.untracked.bool(True), + threshold = cms.untracked.string('WARNING') + ) ) process.Timing = cms.Service("Timing") diff --git a/CondTools/SiStrip/test/SiStripBadModuleByHandBuilder_cfg.py b/CondTools/SiStrip/test/SiStripBadModuleByHandBuilder_cfg.py index b2b5230f9ec27..cc194957585b0 100644 --- a/CondTools/SiStrip/test/SiStripBadModuleByHandBuilder_cfg.py +++ b/CondTools/SiStrip/test/SiStripBadModuleByHandBuilder_cfg.py @@ -2,10 +2,13 @@ process = cms.Process("ICALIB") process.MessageLogger = cms.Service("MessageLogger", + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), cout = cms.untracked.PSet( + enable = cms.untracked.bool(True), threshold = cms.untracked.string('INFO') - ), - destinations = cms.untracked.vstring('cout') + ) ) process.source = cms.Source("EmptyIOVSource", diff --git a/CondTools/SiStrip/test/SiStripCablingTrackerMap_cfg.py b/CondTools/SiStrip/test/SiStripCablingTrackerMap_cfg.py index 101f33053a78e..6dfbb88ceef1c 100644 --- a/CondTools/SiStrip/test/SiStripCablingTrackerMap_cfg.py +++ b/CondTools/SiStrip/test/SiStripCablingTrackerMap_cfg.py @@ -4,11 +4,18 @@ process.MessageLogger = cms.Service("MessageLogger", - debugModules = cms.untracked.vstring(''), cablingReader = cms.untracked.PSet( threshold = cms.untracked.string('INFO') ), - destinations = cms.untracked.vstring('cablingMap.log') + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), + debugModules = cms.untracked.vstring(''), + files = cms.untracked.PSet( + cablingMap = cms.untracked.PSet( + + ) + ) ) import CalibTracker.Configuration.Common.PoolDBESSource_cfi diff --git a/CondTools/SiStrip/test/SiStripDetVOffReader_cfg.py b/CondTools/SiStrip/test/SiStripDetVOffReader_cfg.py index 2a328cd53939b..d805890b7dc94 100644 --- a/CondTools/SiStrip/test/SiStripDetVOffReader_cfg.py +++ b/CondTools/SiStrip/test/SiStripDetVOffReader_cfg.py @@ -2,11 +2,17 @@ process = cms.Process("DetVOffReader") -process.MessageLogger = cms.Service( - "MessageLogger", +process.MessageLogger = cms.Service("MessageLogger", + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), debugModules = cms.untracked.vstring(''), - threshold = cms.untracked.string('INFO'), - destinations = cms.untracked.vstring('SiStripDetVOffReader.log') + files = cms.untracked.PSet( + SiStripDetVOffReader = cms.untracked.PSet( + + ) + ), + threshold = cms.untracked.string('INFO') ) process.source = cms.Source("EmptyIOVSource", diff --git a/CondTools/SiStrip/test/SiStripNoiseBuilder_cfg.py b/CondTools/SiStrip/test/SiStripNoiseBuilder_cfg.py index b315b2e7f051f..c7bb77d06bde3 100644 --- a/CondTools/SiStrip/test/SiStripNoiseBuilder_cfg.py +++ b/CondTools/SiStrip/test/SiStripNoiseBuilder_cfg.py @@ -2,9 +2,14 @@ process = cms.Process("ICALIB") process.MessageLogger = cms.Service("MessageLogger", - cout = cms.untracked.PSet(threshold = cms.untracked.string('INFO')), - destinations = cms.untracked.vstring('cout') - ) + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), + cout = cms.untracked.PSet( + enable = cms.untracked.bool(True), + threshold = cms.untracked.string('INFO') + ) +) process.source = cms.Source("EmptyIOVSource", firstValue = cms.uint64(1), diff --git a/CondTools/SiStrip/test/SiStripSummaryBuilder_cfg.py b/CondTools/SiStrip/test/SiStripSummaryBuilder_cfg.py index a6ea01d9a5905..0eb1d6f75e036 100644 --- a/CondTools/SiStrip/test/SiStripSummaryBuilder_cfg.py +++ b/CondTools/SiStrip/test/SiStripSummaryBuilder_cfg.py @@ -2,10 +2,17 @@ process = cms.Process("ICALIB") process.MessageLogger = cms.Service("MessageLogger", + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), cout = cms.untracked.PSet( threshold = cms.untracked.string('INFO') ), - destinations = cms.untracked.vstring('SiStripSummaryBuilder.log') + files = cms.untracked.PSet( + SiStripSummaryBuilder = cms.untracked.PSet( + + ) + ) ) # different !! diff --git a/CondTools/SiStrip/test/SiStripSummaryReader_cfg.py b/CondTools/SiStrip/test/SiStripSummaryReader_cfg.py index 97a13a190cd08..985b01f6e1c65 100644 --- a/CondTools/SiStrip/test/SiStripSummaryReader_cfg.py +++ b/CondTools/SiStrip/test/SiStripSummaryReader_cfg.py @@ -3,10 +3,17 @@ process = cms.Process("SiStripSummaryReader") process.MessageLogger = cms.Service("MessageLogger", + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), cout = cms.untracked.PSet( threshold = cms.untracked.string('INFO') ), - destinations = cms.untracked.vstring('SiStripSummaryReader.log') + files = cms.untracked.PSet( + SiStripSummaryReader = cms.untracked.PSet( + + ) + ) ) diff --git a/CondTools/SiStrip/test/SiStripThresholdBuilder_cfg.py b/CondTools/SiStrip/test/SiStripThresholdBuilder_cfg.py index 727b981a429e4..65831dda781c1 100644 --- a/CondTools/SiStrip/test/SiStripThresholdBuilder_cfg.py +++ b/CondTools/SiStrip/test/SiStripThresholdBuilder_cfg.py @@ -9,14 +9,21 @@ process = cms.Process("Builder") process.MessageLogger = cms.Service("MessageLogger", - debugModules = cms.untracked.vstring(''), ThresholdBuilder = cms.untracked.PSet( threshold = cms.untracked.string('INFO') ), + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), cout = cms.untracked.PSet( threshold = cms.untracked.string('INFO') ), - destinations = cms.untracked.vstring('ThresholdBuilder.log') + debugModules = cms.untracked.vstring(''), + files = cms.untracked.PSet( + ThresholdBuilder = cms.untracked.PSet( + + ) + ) ) process.maxEvents = cms.untracked.PSet( diff --git a/CondTools/SiStrip/test/SiStripThresholdReader_cfg.py b/CondTools/SiStrip/test/SiStripThresholdReader_cfg.py index dcedcdc02ccc7..c7e83c5b77b25 100644 --- a/CondTools/SiStrip/test/SiStripThresholdReader_cfg.py +++ b/CondTools/SiStrip/test/SiStripThresholdReader_cfg.py @@ -9,14 +9,21 @@ process = cms.Process("Reader") process.MessageLogger = cms.Service("MessageLogger", - debugModules = cms.untracked.vstring(''), ThresholdReader = cms.untracked.PSet( threshold = cms.untracked.string('INFO') ), + cerr = cms.untracked.PSet( + enable = cms.untracked.bool(False) + ), cout = cms.untracked.PSet( threshold = cms.untracked.string('INFO') ), - destinations = cms.untracked.vstring('ThresholdReader.log') + debugModules = cms.untracked.vstring(''), + files = cms.untracked.PSet( + ThresholdReader = cms.untracked.PSet( + + ) + ) ) process.maxEvents = cms.untracked.PSet(