Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The GTRID is pushed under the btm-gtrid name. You can make it appear in your Log4J logs by adding it to the ConversionPattern:

Code Block
xml
xml
 <appender name="FileAppender" class="org.apache.log4j.FileAppender">
    <param name="File" value="SomeLogFile.txt"/>
    <layout class="org.apache.log4j.PatternLayout">
        <param name="ConversionPattern" value="%X{btm-gtrid} - %m%n"/>
    </layout>
 </appender>

...