skip to main content
Connection property descriptions : SpyAttributes
  

Try DataDirect Drivers Now

SpyAttributes

Purpose

Enables DataDirect Spy to log detailed information about calls issued by the driver on behalf of the application. DataDirect Spy is not enabled by default.

Valid values

( spy_attribute [; spy_attribute ]...)
where:
spy_attribute
is any valid DataDirect Spy attribute. See to DataDirect Spy attributes for a list of supported attributes.

Notes

*If coding a path on Windows to the log file in a Java string, the backslash character (\) must be preceded by the Java escape character, a backslash. For example: log=(file)C:\\temp\\spy.log.

Example

The following value instructs the driver to log all JDBC activity to a file using a maximum of 80 characters for each line.
(log=(file)/tmp/spy.log;linelimit=80)

Data source method

setSpyAttributes

Default

None

Data type

String

See also

*Tracking JDBC calls with DataDirect Spy
*DataDirect Spy attributes