skip to main content
Using the JDBC Client : JDBC Connection Properties : SpyAttributes
 

SpyAttributes

Description

Enables DataDirect Spy, a tool that can be used to log detailed information about calls issued by a running application to the JDBC Client. The format for the value of this property is:
(spy_attribute[;spy_attribute]...)
where spy_attribute is any valid DataDirect Spy attribute. See Tracking JDBC Calls for a list of supported attributes.
For example:
SpyAttributes=(log=(file)/tmp/spy.log;linelimit=80)
logs all JDBC activity to a file using a maximum of 80 characters for each line.
NOTE: 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

Valid Values

string
where string is the description of the information to be logged.

Default

None
By default, DataDirect Spy is not enabled.

Data type

String