Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

DataDirect Spy Attributes

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

You can customize DataDirect Spy logging by defining the following DataDirect Spy attributes.

log=System.out Redirects logging to the Java output standard, System.out.
log=(file)filename Redirects logging to the file specified by filename.
Note: 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.
linelimit=numberofchars The maximum number of characters, specified by numberofchars, that Spy will log on one line.
When set to no (the initial default), there is no maximum limit on the number of characters.
logLobs={yes | no} Specifies whether Spy logs activity on Blob / Clob. The initial default is no.
logIS={yes | no | nosingleread} Specifies whether DataDirect Spy logs activity on InputStreams.
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.
When set to no (the initial default), DataDirect Spy does not log activity on InputStreams.
logTName={yes | no} Specifies whether DataDirect Spy logs the name of the current thread. When set to no (the initial default), DataDirect Spy does not log the name of the current thread.
timestamp={yes | no} Specifies whether a timestamp should be included on each line of the DataDirect Spy log.
When set to no (the initial default), DataDirect Spy does not include a timestamp on each line.
TitleResults for “How to create a CRG?”Also Available inAlert