JDBC Type 4 Driver Programmer's Reference for SQL/MX Release 3.2 (H06.25+, J06.14+)

T4LogFile
The T4LogFile property sets the name of the logging file for the Type 4 driver.
Set this property on a DataSource object, ConnectionPoolDataSource object, or
DriverManager object.
Data type: String
Default file name is defined by the following pattern:
%h/t4sqlmx%u.log
where
/ represents the local pathname separator.
%h represents the value of the user.home system property.
%u represents a unique number to resolve conflicts.
Any valid file name for your system is allowed.
If you explicitly specify a log file, that file is overwritten each time a FileHandler is established
using that file name.
To retain previously created log files, use the standard java.util.logging file syntax to append
a unique number onto each log file. For example, you can have the following property in a data
source:
T4LogFile = C:/temp/MyLogFile%u.log
That name causes the Type 4 driver to create a new log file using a unique name for each
connection made through that data source. For example:
C:/temp/MyLogFile43289.log
C:/temp/MyLogFile87634.log
C:/temp/MyLogFile27794.log
If you explicitly specify a log file that is not fully qualified, the Type 4 driver creates the file in the
current working directory, for example, in the directory from which the JVM was invoked.
For detailed information about java.util.logging, see the logging summary at:
http://download.oracle.com/javase/1.5.0/docs/api/java/util/logging/package-summary.html
T4LogLevel
The T4LogLevel property sets the logging levels that control logging output for the Type 4 driver.
The Java package java.util.logging logs error messages and traces messages in the driver.
Set this property on a DataSource object, ConnectionPoolDataSource object, or
DriverManager object.
Data type: String
Default: OFF
Logging Levels
OFF
is a special level that turns off logging; the default setting.
SEVERE
indicates a serious failure; usually applies to SQL exceptions generated by the Type 4 driver.
WARNING
indicates a potential problem, which usually applies to SQL warnings generated by the Type
4 driver.
Type 4 Driver Property Descriptions 49