Java Agent v2.2.15
August 31, 2023
-
Featurekafka-clients-2.4.0 tracingwhatap.confweaving=kafka-clients-2.4.0 -
FeatureAdded the function to ignorejava.sql.SQLExceptionwith specific error codes.whatap.conf# example
ignore_sql_error_code_set=22001,2009 -
FeatureAdded 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 -
ChangedUpon occurrence ofjava.sql.SQLException, modified the default value for display of error codes totrue.whatap.conf# default
trace_sql_errorcode_enabled=true -
ChangedTo prioritize the custom exception, modified the default value oftrace_exception_overwrite_enabledtotrue.whatap.conf# default
trace_exception_overwrite_enabled=true -
ChangedCollected SQL parameters for thejava.util.Datetype. -
FixedAdded handling for the cases where the log isnullwhen using the Java agent's logsink function.