Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:47

0001 # Unit test configuration file for MessageLogger service:
0002 # LogVerbatim and LogTrace; also whether isInfoEnalbled() works
0003 # when it is enabled 
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     debugModules = cms.untracked.vstring('*'),
0016     cerr = cms.untracked.PSet(
0017         enable = cms.untracked.bool(False)
0018     ),
0019     files = cms.untracked.PSet(
0020         u15_debugs = cms.untracked.PSet(
0021             threshold = cms.untracked.string('DEBUG'),
0022             noTimeStamps = cms.untracked.bool(True),
0023             FwkReport = cms.untracked.PSet(
0024                 limit = cms.untracked.int32(0)
0025             ),
0026             FwkTest = cms.untracked.PSet(
0027                 limit = cms.untracked.int32(0)
0028             )
0029         ),
0030         u15_infos = cms.untracked.PSet(
0031             threshold = cms.untracked.string('INFO'),
0032             noTimeStamps = cms.untracked.bool(True),
0033             FwkReport = cms.untracked.PSet(
0034                 limit = cms.untracked.int32(0)
0035             ),
0036             FwkTest = cms.untracked.PSet(
0037                 limit = cms.untracked.int32(0)
0038             )
0039         )
0040     )
0041 )
0042 
0043 process.maxEvents = cms.untracked.PSet(
0044     input = cms.untracked.int32(2)
0045 )
0046 
0047 process.source = cms.Source("EmptySource")
0048 
0049 process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_J")
0050 
0051 process.p = cms.Path(process.sendSomeMessages)
0052 
0053