SpyAttributes
- Last Updated: May 18, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
Enables DataDirect Spy to log detailed information about calls that are 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.
Refer to Tracking JDBC Calls with DataDirect Spy in the Progress DataDirect for JDBC Drivers Reference 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)
Default
None
Data Type
String