# u28_cerr_cfg.py:
#
# Non-regression test configuration file for MessageLogger service:
# distinct threshold level for linked destination, where
#

import FWCore.ParameterSet.Config as cms

process = cms.Process("TEST")

import FWCore.Framework.test.cmsExceptionsFatal_cff
process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options

process.load("FWCore.MessageService.test.Services_cff")

process.MessageLogger = cms.Service("MessageLogger",
    categories = cms.untracked.vstring('preEventProcessing'),
    destinations = cms.untracked.vstring('cerr'),
    statistics = cms.untracked.vstring('cerr_stats'),
    cerr_stats = cms.untracked.PSet(
        threshold = cms.untracked.string('WARNING'),
        output = cms.untracked.string('cerr')
    ),
    u28_output = cms.untracked.PSet(
        threshold = cms.untracked.string('INFO'),
        noTimeStamps = cms.untracked.bool(True),
        preEventProcessing = cms.untracked.PSet(
            limit = cms.untracked.int32(0)
        )
    )
)

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(3)
)

process.source = cms.Source("EmptySource")

process.sendSomeMessages = cms.EDAnalyzer("UnitTestClient_A")

process.p = cms.Path(process.sendSomeMessages)

[(9, 'FWCore.ParameterSet.Config.Process', 'cms.Process', (['"""TEST"""'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (37, 'FWCore.ParameterSet.Config.Source', 'cms.Source', (['"""EmptySource"""'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (39, 'FWCore.ParameterSet.Config.EDAnalyzer', 'cms.EDAnalyzer', (['"""UnitTestClient_A"""'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (41, 'FWCore.ParameterSet.Config.Path', 'cms.Path', (['process.sendSomeMessages'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (17, 'FWCore.ParameterSet.Config.untracked.vstring', 'cms.untracked.vstring', (['"""preEventProcessing"""'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (18, 'FWCore.ParameterSet.Config.untracked.vstring', 'cms.untracked.vstring', (['"""cerr"""'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (19, 'FWCore.ParameterSet.Config.untracked.vstring', 'cms.untracked.vstring', (['"""cerr_stats"""'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (34, 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', (['(3)'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (21, 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', (['"""WARNING"""'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (22, 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', (['"""cerr"""'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (25, 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', (['"""INFO"""'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (26, 'FWCore.ParameterSet.Config.untracked.bool', 'cms.untracked.bool', (['(True)'], {}), True, 'import FWCore.ParameterSet.Config as cms\n'), (28, 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', (['(0)'], {}), True, 'import FWCore.ParameterSet.Config as cms\n')]