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:
0002 #   By-severity limit on a type of message, 
0003 #   and specific-category override of that default
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 
0009 import FWCore.Framework.test.cmsExceptionsFatal_cff
0010 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0011 
0012 process.MessageLogger = cms.Service("MessageLogger",
0013     default = cms.untracked.PSet(
0014         FwkTest = cms.untracked.PSet(
0015             limit = cms.untracked.int32(0)
0016         )
0017     ),
0018     cerr = cms.untracked.PSet(
0019         enable = cms.untracked.bool(False)
0020     ),
0021     files = cms.untracked.PSet(
0022         u21_infos = cms.untracked.PSet(
0023             threshold = cms.untracked.string('INFO'),
0024             noTimeStamps = cms.untracked.bool(True),
0025             FwkTest = cms.untracked.PSet(
0026                 limit = cms.untracked.int32(0)
0027             ),
0028             preEventProcessing = cms.untracked.PSet(
0029                 limit = cms.untracked.int32(0)
0030             )
0031         ),
0032         u21_warnings = cms.untracked.PSet(
0033             INFO = cms.untracked.PSet(
0034                 limit = cms.untracked.int32(0)
0035             ),
0036             FWKINFO = cms.untracked.PSet(
0037                 limit = cms.untracked.int32(0)
0038             ),
0039             noTimeStamps = cms.untracked.bool(True),
0040             importantInfo = cms.untracked.PSet(
0041                 limit = cms.untracked.int32(-1)
0042             ),
0043             preEventProcessing = cms.untracked.PSet(
0044                 limit = cms.untracked.int32(0)
0045             ),
0046             FwkTest = cms.untracked.PSet(
0047                 limit = cms.untracked.int32(0)
0048             ),
0049             threshold = cms.untracked.string('INFO')
0050         )
0051     )
0052 )
0053 
0054 process.maxEvents = cms.untracked.PSet(
0055     input = cms.untracked.int32(2)
0056 )
0057 
0058 process.source = cms.Source("EmptySource")
0059 
0060 process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_O")
0061 
0062 process.p = cms.Path(process.sendSomeMessages)