Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:43

0001 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
0002 <BODY bgcolor="FFFFFF">
0003 <title>
0004           CMS MessageLogger: Requesting the  MessageLogger Service
0005 </title>
0006 
0007 <center>
0008 <h1> <img src="header-public.gif" align="center"> </h1>
0009 
0010 <font color=red>
0011 <h1>CMS MessageLogger Service
0012 <br> 
0013 Requesting the MessageLogger Service</h1>
0014 </font>
0015 </center>
0016 
0017 
0018 <pre>
0019 process TEST = {
0020 
0021   <font color=red>service = MessageLogger</font> {
0022     vstring destinations = {   "detailedInfo.txt"
0023                              , "critical.txt"
0024                              , "cout"
0025                              , "cerr"
0026                                              }
0027     PSet critical.txt     = { string threshold = "ERROR"   }
0028     PSet detailedInfo.txt = { string threshold = "INFO"    } 
0029     PSet cerr             = { string threshold = "WARNING" }
0030   }
0031   untracked PSet maxEvents = {untracked int32 input = 5}
0032   path p = { myAnalysisModule }
0033   module myAnalysisModule = ModuleThatIssuesMessages { }
0034   source = EmptySource { }
0035 }
0036 </pre>
0037 
0038 
0039 The <font color=red>service = MessageLogger { ... } </font> parameter
0040 tells the framework that you wish to have available the MessageLogger
0041 service.  Parameters configuring that service appear between the
0042 braces.
0043 <p>
0044 Although messages can be issued without having asked for the service,
0045 it is strongly recommended that jobs which may send messages include
0046 this in their .cfg file.
0047 
0048 <p><center>
0049 <img src="bar.gif"></center>
0050 
0051 <p><center>
0052 <a href="http://www.uscms.org/SoftwareComputing/index.html">
0053 USCMS Software and Computing Home Page </a> - 
0054 <a href="MessageLogger.html"> CMS MessageLogger Service Page </a> -
0055 <a href="parameters.html#example"> Configuration File </a>
0056 </center>
0057 
0058 <p>
0059       <hr>
0060       <address><a href="mailto:mf@fnal.gov">Mark Fischler</a></address>
0061 <!-- hhmts start -->
0062 Last modified: November 29, 2005
0063 <!-- hhmts end -->
0064 </body>