db2.jcc.traceFile or db2.jcc.override.traceFile
Enables the IBM Data Server Driver for JDBC and SQLJ trace for Java driver
code, and specifies the name on which the trace file names are based.The
db2.jcc.traceFile property does not apply to IBM Data Server Driver for JDBC
and SQLJ type 2 connectivity on DB2 for z/OS.
Specify a fully qualified z/OS UNIX System Services file name for the
db2.jcc.override.traceFile property value.
The db2.jcc.override.traceFile property overrides the traceFile property for a
Connection or DataSource object.
For example, specifying the following setting for db2.jcc.override.traceFile
enables tracing of the IBM Data Server Driver for JDBC and SQLJ Java code to
a file named /SYSTEM/tmp/jdbctrace:
db2.jcc.override.traceFile=/SYSTEM/tmp/jdbctrace
You should set the trace properties under the direction of IBM Software
Support.
db2.jcc.traceFileAppend or db2.jcc.override.traceFileAppend
Specifies whether to append to or overwrite the file that is specified by the
db2.jcc.override.traceFile property. These properties do not apply to IBM Data
Server Driver for JDBC and SQLJ type 2 connectivity on DB2 for z/OS. Valid
values are true or false. The default is false, which means that the file that is
specified by the traceFile property is overwritten.
The db2.jcc.override.traceFileAppend property overrides the traceFileAppend
property for a Connection or DataSource object.
For example, specifying the following setting for
db2.jcc.override.traceFileAppend causes trace data to be added to the existing
trace file:
db2.jcc.override.traceFileAppend=true
You should set the trace properties under the direction of IBM Software
Support.
db2.jcc.tracePolling
Indicates whether the IBM Data Server Driver for JDBC and SQLJ polls the
global configuration file for changes in trace directives and modifies the trace
behavior to match the new trace directives. The driver modifies the trace
behavior at the beginning of the next polling interval after the configuration
properties file is changed. Possible values are true or false. False is the default.
For trace polling to be enabled, the db2.jcc.tracePolling property must be
enabled before the driver is loaded and initialized.
db2.jcc.tracePolling polls the following global configuration properties:
v db2.jcc.override.traceLevel
v db2.jcc.override.traceFile
v db2.jcc.override.traceDirectory
v db2.jcc.override.traceFileAppend
v db2.jcc.t2zosTraceFile
v db2.jcc.t2zosTraceBufferSize
v db2.jcc.t2zosTraceWrap
db2.jcc.tracePollingInterval
Specifies the interval, in seconds, for polling the IBM Data Server Driver for
JDBC and SQLJ global configuration file for changes in trace directives. The
property value is a positive integer. The default is 60. For the specified trace
polling interval to be used, the db2.jcc.tracePollingInterval property must be
250 Application Programming Guide and Reference for Java
â„¢
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|