Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # u28_cerr_cfg.py:
0002 #
0003 # Non-regression test configuration file for MessageLogger service:
0004 # distinct threshold level for linked destination, where
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         statisticsThreshold = cms.untracked.string('WARNING'),
0019         enableStatistics = cms.untracked.bool(True)
0020     )
0021 )
0022 
0023 process.maxEvents = cms.untracked.PSet(
0024     input = cms.untracked.int32(3)
0025 )
0026 
0027 process.source = cms.Source("EmptySource")
0028 
0029 process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A")
0030 
0031 process.p = cms.Path(process.sendSomeMessages)