# 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)

[((201, 220), 'FWCore.ParameterSet.Config.Process', 'cms.Process', (['"""TEST"""'], {}), "('TEST')\n", (212, 220), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1107, 1132), 'FWCore.ParameterSet.Config.Source', 'cms.Source', (['"""EmptySource"""'], {}), "('EmptySource')\n", (1117, 1132), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1161, 1195), 'FWCore.ParameterSet.Config.EDAnalyzer', 'cms.EDAnalyzer', (['"""UnitTestClient_A"""'], {}), "('UnitTestClient_A')\n", (1175, 1195), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1209, 1243), 'FWCore.ParameterSet.Config.Path', 'cms.Path', (['process.sendSomeMessages'], {}), '(process.sendSomeMessages)\n', (1217, 1243), True, 'import FWCore.ParameterSet.Config as cms\n'), ((473, 516), 'FWCore.ParameterSet.Config.untracked.vstring', 'cms.untracked.vstring', (['"""preEventProcessing"""'], {}), "('preEventProcessing')\n", (494, 516), True, 'import FWCore.ParameterSet.Config as cms\n'), ((537, 566), 'FWCore.ParameterSet.Config.untracked.vstring', 'cms.untracked.vstring', (['"""cerr"""'], {}), "('cerr')\n", (558, 566), True, 'import FWCore.ParameterSet.Config as cms\n'), ((585, 620), 'FWCore.ParameterSet.Config.untracked.vstring', 'cms.untracked.vstring', (['"""cerr_stats"""'], {}), "('cerr_stats')\n", (606, 620), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1064, 1086), 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', (['(3)'], {}), '(3)\n', (1083, 1086), True, 'import FWCore.ParameterSet.Config as cms\n'), ((679, 710), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', (['"""WARNING"""'], {}), "('WARNING')\n", (699, 710), True, 'import FWCore.ParameterSet.Config as cms\n'), ((729, 757), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', (['"""cerr"""'], {}), "('cerr')\n", (749, 757), True, 'import FWCore.ParameterSet.Config as cms\n'), ((822, 850), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', (['"""INFO"""'], {}), "('INFO')\n", (842, 850), True, 'import FWCore.ParameterSet.Config as cms\n'), ((875, 899), 'FWCore.ParameterSet.Config.untracked.bool', 'cms.untracked.bool', (['(True)'], {}), '(True)\n', (893, 899), True, 'import FWCore.ParameterSet.Config as cms\n'), ((970, 992), 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', (['(0)'], {}), '(0)\n', (989, 992), True, 'import FWCore.ParameterSet.Config as cms\n')]