Skip to main content

Java Agent v2.2.25

December 20, 2023

  • Feature Added the multi-transaction ID (@mtid tag) in the Java application log for log monitoring.

  • Changed Modified to collect transaction IDs and multi-transaction IDs when the logsink_enabled option has been set (Previous: logsink_trace_enabled option).

    whatap.conf
    # default: false
    logsink_enabled=false
  • Changed Modified to collect appenders by default upon use of log4j.

    whatap.conf
    # requires agent restart
    weaving=log4j-2.17

    # example: collect Console, AccessLog, ErrorLog
    trace_log4j_appender_set=Console,AccessLog,ErrorLog
  • Changed Modified to collect appenders by default upon use of logback.

    whatap.conf
    # requires agent restart
    weaving=logback-1.2.8

    # example: collect ErrorAppender, FileAppender log
    trace_logback_appender_set=ErrorAppender,FileAppender
Note

Download: Java Agent v2.2.25

To install the Java agent for the first time, install the package first using the following command. For more information about agent installation, see the following.

wget https://api.whatap.io/agent/whatap.agent.java.tar.gz