Java Agent v2.2.22
November 16, 2023
-
Feature
log4j-2.17 appender log tracing (log4j-2.17 or later)whatap.conf# requires agent restart
weaving=log4j-2.17
# default
trace_log4j_stack_depth=50
trace_log4j_appender_enabled=false
trace_log4j_appender_set=
# example
trace_log4j_appender_enabled=true
trace_log4j_appender_set=Console,AccessLog,ErrorLog -
Changed
Changed the setting of the logback-1.2.8 appender log.whatap.conf# requires agent restart
weaving=logback-1.2.8
# default
trace_logback_stack_depth=50
trace_logback_appender_enabled=false
trace_logback_appender_set= -
Fixed
To prevent error from occurring upon starting the agent, changed the default value of thehook_db_native_enabled
option tofalse
.whatap.conf# default
hook_db_native_enabled=false -
Fixed
Fixed the issue where some parameters are not collected when calling r2dbc.
Note
Download: Java Agent v2.2.22
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