Tuesday, July 29, 2014

Websphere Datasource Tracing

Disable & Enabling tracing using properties file
#  Click => Here  <= for details
# -Ddb2.jcc.propertiesFile=C:/jcc.properties
db2.jcc.traceFile=C:/EMD/jcc.log
db2.jcc.traceOption=1
db2.jcc.traceLevel=3
db2.jcc.traceFileSize=20971520
db2.jcc.traceFileCount=4
db2.jcc.traceFileAppend=true

Using JDBC URL:
jdbc:db2://localhost:50000/sample:traceDirectory=/tmp;traceFile=jcctrace.log;traceFileCount=5;traceFileSize=20971520;traceLevel=-1;

No comments:

Post a Comment