Editing trace.properties

You can use the trace.properties file to configure all aspects of logging, including the following:

  • Log file location

  • Log file rotation

  • Log file layout

  • Logging levels

  • Multiple log file generation

The following sections contain some hints on how to use trace.properties to achieve certain objectives, but no more than that. For a full description of all the possibilities offered by log4j and the trace.properties file format (which is complicated), see http://logging.apache.org/log4j/1.2/manual.html and http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html.