Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:45

0001 # Unit test configuration file for MessageLogger service: u35
0002 # Suppression based on minimum severity level.
0003 # (This is part B - verifying that suppression does not occur if any threshold
0004 # is low enough to not suppress.)
0005 #
0006 
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 process = cms.Process("TEST")
0010 
0011 import FWCore.Framework.test.cmsExceptionsFatal_cff
0012 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0013 
0014 process.load("FWCore.MessageService.test.Services_cff")
0015 
0016 process.MessageLogger = cms.Service("MessageLogger",
0017     cerr = cms.untracked.PSet(
0018         enable = cms.untracked.bool(False)
0019     ),
0020     files = cms.untracked.PSet(
0021         u35_warnings = cms.untracked.PSet(
0022             threshold = cms.untracked.string('WARNING'),
0023             noTimeStamps = cms.untracked.bool(True)
0024         ),
0025         u35_infos = cms.untracked.PSet(
0026             threshold = cms.untracked.string('INFO'),
0027             noTimeStamps = cms.untracked.bool(True)
0028         )
0029     )
0030 )
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033     input = cms.untracked.int32(2)
0034 )
0035 
0036 process.source = cms.Source("EmptySource")
0037 
0038 process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_W")
0039 
0040 process.p = cms.Path(process.sendSomeMessages)