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 # LogVerbatim and LogTrace
0003 # with debug enabled (Client_Hd)
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.load("FWCore.MessageService.test.Services_cff")
0013 
0014 process.MessageLogger = cms.Service("MessageLogger",
0015     cerr = cms.untracked.PSet(
0016       enable = cms.untracked.bool(False)
0017     ),
0018     files = cms.untracked.PSet(
0019       u13d_infos = cms.untracked.PSet(
0020           threshold = cms.untracked.string('INFO'),
0021           noTimeStamps = cms.untracked.bool(True),
0022           FwkReport = cms.untracked.PSet(
0023               limit = cms.untracked.int32(0)
0024           ),
0025           preEventProcessing = cms.untracked.PSet(
0026               limit = cms.untracked.int32(0)
0027           ),
0028           FwkTest = cms.untracked.PSet(
0029               limit = cms.untracked.int32(0)
0030           )
0031       ),
0032       u13d_debugs = cms.untracked.PSet(
0033         threshold = cms.untracked.string('DEBUG'),
0034         noTimeStamps = cms.untracked.bool(True),
0035         FwkReport = cms.untracked.PSet(
0036             limit = cms.untracked.int32(0)
0037         ),
0038         preEventProcessing = cms.untracked.PSet(
0039             limit = cms.untracked.int32(0)
0040         ),
0041         FwkTest = cms.untracked.PSet(
0042             limit = cms.untracked.int32(0)
0043         )
0044       )
0045     ),
0046     debugModules = cms.untracked.vstring('*'),
0047 )
0048 
0049 process.maxEvents = cms.untracked.PSet(
0050     input = cms.untracked.int32(2)
0051 )
0052 
0053 process.source = cms.Source("EmptySource")
0054 
0055 process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_Hd")
0056 
0057 process.p = cms.Path(process.sendSomeMessages)
0058 
0059