Config:Logging

From SUMOwiki
Revision as of 13:54, 13 February 2008 by Icouckuy (talk | contribs)
Jump to navigationJump to search

Logging

Custom Options

Available options:

<!--Specify the handlers to create in the root logger (all loggers are children of the root logger) The following creates two handlers-->
<Option key="handlers" value="java.util.logging.ConsoleHandler,java.util.logging.FileHandler"/>
<!--Set the default logging level for the root logger-->
<Option key=".level" value="INFO"/>
<!--This setting determins how much output you see on your console-->
<Option key="java.util.logging.ConsoleHandler.level" value="INFO"/>
<!--Set the default formatter-->
<Option key="java.util.logging.ConsoleHandler.formatter" value="ibbt.sumo.util.SUMOFormatter"/>
<!--Log everything to file-->
<Option key="java.util.logging.FileHandler.level" value="ALL"/>
<!--Set the default formatter-->
<Option key="java.util.logging.FileHandler.formatter" value="ibbt.sumo.util.SUMOFormatter"/>
<!--Max logfile size in bytes-->
<Option key="java.util.logging.FileHandler.limit" value="0"/>
<!--How many output files to cycle through-->
<Option key="java.util.logging.FileHandler.count" value="1"/>
<!--Should existing files be appended-->
<Option key="java.util.logging.FileHandler.append" value="false"/>
<!--The file naming pattern-->
<Option key="java.util.logging.FileHandler.pattern" value="output/SUMO-Toolbox.%g.%u.log"/>
<!--Set the default logging level for the SUMO-Toolbox-->
<Option key="ibbt.sumo.level" value="FINEST"/>
<!--Set the default logging level for the SUMO-Toolbox-->
<Option key="Matlab.level" value="FINEST"/>