2 # File: messages_sbnd.fcl
3 # Purpose: presets for art message logging
4 # Author: Gianluca Petrillo
9 # - sbnd_message_services: kind of "standard"
10 # - sbnd_message_services_prod: non-interactive jobs (like in production)
11 # - sbnd_message_services_prod_debug: non-interactive jobs with debugging
12 # - sbnd_message_services_interactive: interactive jobs
13 # - sbnd_message_services_interactive_debug: interactive jobs with debugging
15 # Reminder: to limit a number of messages in a specific category,
16 # add in a destination a configuration for that category:
20 # # suppress all the messages in "UselessMessage" category
21 # UselessMessage: { limit: 0 }
23 # # reduce the messages from "AnnoyingMessage" category;
24 # # they will still appear now and then
25 # AnnoyingMessage: { limit: 5 timespan: 10 }
27 # # this means no limit
35 # services.message: @local::sbnd_message_services
39 # 20160601 (petrillo@fnal.gov) [v1.0]
40 # content moved from old services_sbnd.fcl;
41 # tuned the various presets, added a couple
48 # standard SBND message destinations
50 message_debugfile_sbnd: {
52 # message destination: all debug messages to a file
61 } # message_debugfile_sbnd
64 message_infofile_sbnd: {
66 # message destination: all debug messages to a file
75 } # message_infofile_sbnd
78 message_errorfile_sbnd: {
80 # message destination: all error messages to "errors.log" file
89 } # message_errorfile_sbnd
92 message_stdout_warning_sbnd: {
94 # message destination: all warning messages to standard output
100 GeometryBadInputPoint: { limit: 5 timespan: 1000}
102 } # message_stdout_warning_sbnd
105 message_stderr_sbnd: {
107 # message destination: all error messages to standard error
114 } # message_stderr_sbnd
119 # sbnd_message_services
120 # ------------------------
122 # Enables debug messages. Errors saved in a file.
124 # - standard output with only WARNING and worse
125 # - "errors.log" collecting error messages (also included in standard output)
126 # - "debug.log" with DEBUG (that is, every message) for all modules;
127 # in non-debug qualifier builds, LOG_DEBUG and LOG_TRACE are disabled and
128 # their messages are never produced (that is, won't be in "debug.log" either).
130 # No special stream for errors.
132 sbnd_message_services:
135 LogStandardOut: @local::message_stdout_warning_sbnd
136 LogInfoFile: @local::message_infofile_sbnd
137 LogErrorFile: @local::message_errorfile_sbnd
140 } # sbnd_message_services
144 # sbnd_message_services_prod_debug
145 # -----------------------------------
147 # Enables debug messages.
149 # - standard error with only ERROR and worse
150 # - standard output with only WARNING and worse (will also repeat the error
151 # messages, that will appear in error messages being printed twice if the
152 # standard output and error are directed to the same file or to the console)
153 # - "debug.log" with DEBUG (that is, every message) for all modules;
154 # in non-debug qualifier builds, LOG_DEBUG and LOG_TRACE are disabled and
155 # their messages are never produced (that is, won't be in "debug.log" either).
157 sbnd_message_services_prod_debug:
162 LogDebugFile: @local::message_debugfile_sbnd
163 LogStandardOut: @local::message_stdout_warning_sbnd
164 LogStandardError: @local::message_stderr_sbnd
166 } # sbnd_message_services_prod_debug
169 sbnd_message_services_prod_debug.destinations.LogDebugFile.categories:{
171 GeometryBadInputPoint: { limit: 5 timespan: 1000}
176 # sbnd_message_services_prod
177 # -----------------------------
179 # - standard error with only ERROR and worse
180 # - standard output with only WARNING and worse (will also repeat the error
181 # messages, that will appear in error messages being printed twice if the
182 # standard output and error are directed to the same file or to the console)
185 sbnd_message_services_prod:
188 LogStandardOut: @local::message_stdout_warning_sbnd
189 LogStandardError: @local::message_stderr_sbnd
195 # sbnd_message_services_interactive
196 # ------------------------------------
198 # - standard output with only INFO and worse
199 # - "errors.log" collecting warning and error messages (also included in
202 # No special stream for errors.
205 sbnd_message_services_interactive:
208 LogStandardOut: @local::message_stdout_warning_sbnd
209 LogErrorFile: @local::message_errorfile_sbnd
212 sbnd_message_services_interactive.destinations.LogStandardOut.threshold:
"INFO"
213 sbnd_message_services_interactive.destinations.LogErrorFile.threshold:
"WARNING"
217 # sbnd_message_services_interactive_debug
218 # ------------------------------------------
220 # Enables debug messages.
222 # - standard output with only INFO and worse
223 # - "errors.log" collecting warning and error messages (also included in
225 # - "debug.log" with DEBUG (that is, every message) for all modules;
226 # in non-debug qualifier builds, LOG_DEBUG and LOG_TRACE are disabled and
227 # their messages are never produced (that is, won't be in "debug.log" either).
229 # No special stream for errors.
232 sbnd_message_services_interactive_debug: {
234 @table::sbnd_message_services_interactive
236 sbnd_message_services_interactive_debug.destinations.LogDebugFile: @local::message_debugfile_sbnd
BEGIN_PROLOG could also be dds filename