Config:Logging

From SUMOwiki
Revision as of 17:11, 17 February 2009 by Icouckuy (talk | contribs)
Jump to navigationJump to search

Generated for SUMO toolbox version 6.1. We are well aware that documentation is not always complete and possibly even out of date in some cases. We try to document everything as best we can but much is limited by available time and manpower. We are an university research group after all. The most up to date documentation can always be found (if not here) in the default.xml configuration file and, of course, in the source files. If something is unclear please dont hesitate to ask.

Logging

RootLogger

Root logger

<!--Root logger-->
<[[Config:RootLogger|RootLogger]]>

   <!-- log all run-specific information in the main log as well -->
   <Option key="runsInMainLog" value="true"/>

   <!-- Set the default logging level for the root logger -->
   <Option key="Level" value="INFO"/>

   <!-- Specify the handlers to create in the root logger
    (all loggers are children of the root logger).  The handlers determine
    where logging output is sent to. 
    
    Possible levels are: OFF, SEVERE, WARNING, INFO, FINE, FINER, FINEST, ALL
    -->      
    
    
   <[[Config:Handlers|Handlers]]>
      <!-- Configure ConsoleHandler (= output to the screen) -->
      <[[Config:ConsoleHandler|ConsoleHandler]]>
         <Option key="Level" value="INFO"/>
      </[[Config:ConsoleHandler|ConsoleHandler]]>

      <!-- Configure FileHandler (= output to file)-->
      <[[Config:FileHandler|FileHandler]]>
         <Option key="Level" value="ALL"/>
      </[[Config:FileHandler|FileHandler]]>
   </[[Config:Handlers|Handlers]]>
</[[Config:RootLogger|RootLogger]]>

Custom Options

Available options:

<!--<Option key="loggername" value="level" />-->
<Option key="ibbt.sumo" value="FINEST"/>
<!--<Option key="loggername" value="level" />-->
<Option key="Matlab" value="FINEST"/>