test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
debug_messages_cfi.py
Go to the documentation of this file.
1 #
2 # Send DEBUG messages from L1T to file l1t_debug.log
3 #
4 # NOTE: to receive debug messages you must have compiled like this:
5 #
6 # scram b -j 8 USER_CXXFLAGS="-DEDM_ML_DEBUG"
7 #
8 import FWCore.ParameterSet.Config as cms
9 
10 MessageLogger = cms.Service(
11  "MessageLogger",
12  destinations = cms.untracked.vstring(
13  'cout','l1t_debug',
14  'warnings',
15  'errors',
16  'infos',
17  'debugs',
18  'cerr'
19  ),
20  categories = cms.untracked.vstring(
21  'l1t', 'yellow',
22  'FwkJob',
23  'FwkReport',
24  'FwkSummary',
25  'Root_NoDictionary'),
26  debugModules = cms.untracked.vstring('*'),
27 
28  cout = cms.untracked.PSet(
29  placeholder = cms.untracked.bool(True)
30  ),
31  l1t_debug = cms.untracked.PSet(
32  threshold = cms.untracked.string('DEBUG'),
33  default = cms.untracked.PSet (
34  limit = cms.untracked.int32(0)
35  ),
36  l1t = cms.untracked.PSet (
37  limit = cms.untracked.int32(100)
38  )
39  ),
40  suppressInfo = cms.untracked.vstring(),
41  debugs = cms.untracked.PSet(
42  placeholder = cms.untracked.bool(True)
43  ),
44  suppressDebug = cms.untracked.vstring(),
45  #cout = cms.untracked.PSet(
46  # placeholder = cms.untracked.bool(True)
47  #),
48  warnings = cms.untracked.PSet(
49  placeholder = cms.untracked.bool(True)
50  ),
51  default = cms.untracked.PSet(
52 
53  ),
54  errors = cms.untracked.PSet(
55  placeholder = cms.untracked.bool(True)
56  ),
57  cerr = cms.untracked.PSet(
58  optionalPSet = cms.untracked.bool(True),
59  INFO = cms.untracked.PSet(
60  limit = cms.untracked.int32(0)
61  ),
62  noTimeStamps = cms.untracked.bool(False),
63  FwkReport = cms.untracked.PSet(
64  optionalPSet = cms.untracked.bool(True),
65  reportEvery = cms.untracked.int32(1),
66  limit = cms.untracked.int32(10000000)
67  ),
68  default = cms.untracked.PSet(
69  limit = cms.untracked.int32(10000000)
70  ),
71  Root_NoDictionary = cms.untracked.PSet(
72  optionalPSet = cms.untracked.bool(True),
73  limit = cms.untracked.int32(0)
74  ),
75  FwkJob = cms.untracked.PSet(
76  optionalPSet = cms.untracked.bool(True),
77  limit = cms.untracked.int32(0)
78  ),
79  FwkSummary = cms.untracked.PSet(
80  optionalPSet = cms.untracked.bool(True),
81  reportEvery = cms.untracked.int32(1),
82  limit = cms.untracked.int32(10000000)
83  ),
84  threshold = cms.untracked.string('INFO')
85  ),
86  FrameworkJobReport = cms.untracked.PSet(
87  optionalPSet = cms.untracked.bool(True),
88  default = cms.untracked.PSet(
89  limit = cms.untracked.int32(0)
90  ),
91  FwkJob = cms.untracked.PSet(
92  optionalPSet = cms.untracked.bool(True),
93  limit = cms.untracked.int32(10000000)
94  )
95  ),
96  suppressWarning = cms.untracked.vstring(),
97  statistics = cms.untracked.vstring('cerr_stats'),
98  cerr_stats = cms.untracked.PSet(
99  optionalPSet = cms.untracked.bool(True),
100  threshold = cms.untracked.string('WARNING'),
101  output = cms.untracked.string('cerr')
102  ),
103  infos = cms.untracked.PSet(
104  placeholder = cms.untracked.bool(True),
105  optionalPSet = cms.untracked.bool(True),
106  Root_NoDictionary = cms.untracked.PSet(
107  optionalPSet = cms.untracked.bool(True),
108  limit = cms.untracked.int32(0)
109  ),
110  ),
111 )