# 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, 10, 9, 29), 'FWCore.ParameterSet.Config.Process', 'cms.Process', ({(9, 22, 9, 28): '"""TEST"""'}, {}), "('TEST')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((37, 17, 37, 42), 'FWCore.ParameterSet.Config.Source', 'cms.Source', ({(37, 28, 37, 41): '"""EmptySource"""'}, {}), "('EmptySource')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((39, 27, 39, 61), 'FWCore.ParameterSet.Config.EDAnalyzer', 'cms.EDAnalyzer', ({(39, 42, 39, 60): '"""UnitTestClient_A"""'}, {}), "('UnitTestClient_A')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((41, 12, 41, 46), 'FWCore.ParameterSet.Config.Path', 'cms.Path', ({(41, 21, 41, 45): 'process.sendSomeMessages'}, {}), '(process.sendSomeMessages)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((17, 17, 17, 60), 'FWCore.ParameterSet.Config.untracked.vstring', 'cms.untracked.vstring', ({(17, 39, 17, 59): '"""preEventProcessing"""'}, {}), "('preEventProcessing')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((18, 19, 18, 48), 'FWCore.ParameterSet.Config.untracked.vstring', 'cms.untracked.vstring', ({(18, 41, 18, 47): '"""cerr"""'}, {}), "('cerr')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((19, 17, 19, 52), 'FWCore.ParameterSet.Config.untracked.vstring', 'cms.untracked.vstring', ({(19, 39, 19, 51): '"""cerr_stats"""'}, {}), "('cerr_stats')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((34, 12, 34, 34), 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', ({(34, 32, 34, 33): '3'}, {}), '(3)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((21, 20, 21, 51), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', ({(21, 41, 21, 50): '"""WARNING"""'}, {}), "('WARNING')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((22, 17, 22, 45), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', ({(22, 38, 22, 44): '"""cerr"""'}, {}), "('cerr')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((25, 20, 25, 48), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', ({(25, 41, 25, 47): '"""INFO"""'}, {}), "('INFO')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((26, 23, 26, 47), 'FWCore.ParameterSet.Config.untracked.bool', 'cms.untracked.bool', ({(26, 42, 26, 46): 'True'}, {}), '(True)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((28, 20, 28, 42), 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', ({(28, 40, 28, 41): '0'}, {}), '(0)', True, 'import FWCore.ParameterSet.Config as cms\n')]