WAS v8.5 > Deploy applications > Deploy applications to the Liberty profile > Deploy data access applications to the Liberty profile

Enable JDBC Tracing for the Liberty profile

JDBC tracing for the Liberty profile is enabled using either...

There are two ways of using driver-specific custom trace facilities:

If wer JDBC driver does not provide its own custom tracing or logging facilities, or the facilities it provides are minimal, we can use supplemental JDBC tracing from the application server.

If we enable tracing using either a custom vendor property or supplemental JDBC tracing, add the logwriter name to the trace specification in bootstrap.properties...

DB2 com.ibm.ws.db2.logwriter
Derby com.ibm.ws.derby.logwriter
Informix JCC (uses the same driver as DB2) com.ibm.ws.db2.logwriter
Informix JDBC com.ibm.ws.informix.logwriter
Microsoft SQL Server JDBC Driver com.ibm.ws.sqlserver.logwriter
DataDirect Connect for JDBC for Microsoft SQL Server com.ibm.ws.sqlserver.logwriter
Sybase com.ibm.ws.sybase.logwriter
Other databases (for example solidDB and MySQL) com.ibm.ws.database.logwriter

Because changes to trace enablement involvealtering bootstrap.properties, restart the server for the changes to take effect.


JDBC trace methods


Parent topic: Deploy data access applications to the Liberty profile


Reference:

Liberty profile: Trace and logging


|