Tracking JDBC Calls with DataDirect Spy™ : Enabling DataDirect Spy™ : DataDirect Spy™ Attributes

DataDirect Spy™ Attributes
DataDirect Spy supports the attributes described in the following table.
 
linelimit=numberofchars
The default is 0 (no maximum limit).
load=classname
Loads the driver specified by classname. For example, the com.ddtek.jdbc.db2.DB2Driver class name loads the DB2 driver.
log=(file)filename
NOTE FOR WINDOWS: If coding a path 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;logIS=yes;logTName=yes.
log=(filePrefix)file_prefix
Directs logging to a file prefixed by file_prefix. The log file is named file_prefixX.log, where X is an integer that increments by 1 for each connection on which the prefix is specified. For example, if the attribute log=(filePrefix)C:\\temp\\spy_ is specified on multiple connections, the following logs are created:
Note: If coding a path to the log file in a Java string, the backslash character (\) must be preceded by the Java escape character, a backslash. For example: log=(filePrefix)C:\\temp\\spy_;logIS=yes;logTName=yes.
logIS={yes | no | nosingleread}
When logIS=nosingleread, logging on InputStream and Reader objects is active; however, logging of the single-byte read InputStream.read or single-character Reader.read is suppressed to prevent generating large log files that contain single-byte or single character read messages.
loglob={yes | no}
logTName={yes | no}
timestamp={yes | no}
 

© 2012 Progress Software Corporation and/or its subsidiaries or affiliates.