Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

SpyAttributes

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

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.

Notes

  • If a log file name does not include the .log extension, the driver automatically appends it. For example, a file named spy.jsp is renamed to spy.jsp.log by the driver.

Default

None

By default, DataDirect Spy is not enabled.

Data type

String

TitleResults for “How to create a CRG?”Also Available inAlert