Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Configuration file for MessageLogger service
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 process = cms.Process("TEST")
0006 
0007 import FWCore.Framework.test.cmsExceptionsFatal_cff
0008 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0009 
0010 process.load("FWCore.MessageService.test.Services_cff")
0011 
0012 process.MessageLogger = cms.Service("MessageLogger",
0013     cerr = cms.untracked.PSet(
0014         enable = cms.untracked.bool(False)
0015     ),
0016     debugModules = cms.untracked.vstring('sendSomeMessages'),
0017     default = cms.untracked.PSet(
0018         limit = cms.untracked.int32(100),
0019         timespan = cms.untracked.int32(60)
0020     ),
0021     files = cms.untracked.PSet(
0022         critical = cms.untracked.PSet(
0023             threshold = cms.untracked.string('ERROR')
0024         ),
0025         detailedInfo = cms.untracked.PSet(
0026             INFO = cms.untracked.PSet(
0027                 timespan = cms.untracked.int32(1000)
0028             ),
0029             default = cms.untracked.PSet(
0030                 limit = cms.untracked.int32(10),
0031                 timespan = cms.untracked.int32(600)
0032             ),
0033             threshold = cms.untracked.string('DEBUG'),
0034             trkwarning = cms.untracked.PSet(
0035                 limit = cms.untracked.int32(100),
0036                 timespan = cms.untracked.int32(30)
0037             ),
0038             unimportant = cms.untracked.PSet(
0039                 limit = cms.untracked.int32(5)
0040             )
0041         )
0042     )
0043 )
0044 
0045 process.maxEvents = cms.untracked.PSet(
0046     input = cms.untracked.int32(2)
0047 )
0048 
0049 process.source = cms.Source("EmptySource")
0050 
0051 process.sendSomeMessages = cms.EDAnalyzer("MessageLoggerClient")
0052 
0053 process.p = cms.Path(process.sendSomeMessages)