Java Agent v2.2.15
August 31, 2023
-
Feature
kafka-clients-2.4.0 tracingwhatap.confweaving=kafka-clients-2.4.0
-
Feature
Added the function to ignorejava.sql.SQLException
with specific error codes.whatap.conf# example
ignore_sql_error_code_set=22001,2009 -
Feature
Added the error stack display function in transactions: The first error stack is displayed when multiple errors occur in transactions.For more information about transaction error stacks, see the following.
Transaction error stack -
Changed
Upon occurrence ofjava.sql.SQLException
, modified the default value for display of error codes totrue
.whatap.conf# default
trace_sql_errorcode_enabled=true -
Changed
To prioritize the custom exception, modified the default value oftrace_exception_overwrite_enabled
totrue
.whatap.conf# default
trace_exception_overwrite_enabled=true -
Changed
Collected SQL parameters for thejava.util.Date
type. -
Fixed
Added handling for the cases where the log isnull
when using the Java agent's logsink function.