How To Trace the JDBC driver (Doc ID 338433.1)

Last updated on AUGUST 04, 2016

Applies to:

JDBC - Version 10.1.0 to 12.1.0.2.0
Information in this document applies to any platform.


Goal

The purpose of this document is to illustrate the JDBC 10g/11g/12c tracing feature.  This is also referred as JDBC logging.

JDBC logging is now documented in the JDBC Developer's guide:

Oracle Database JDBC Developer's Guide,
11g Release 2 (11.2)
Part Number E16548-02
31 Diagnosability in JDBC
Logging

Oracle® Database JDBC Developer's Guide
12c Release 1 (12.1)
E49300-05
32 Diagnosability in JDBC
Logging

 

Prior to JDBC 10g, the JDBC 9i driver used a different method for logging.  Starting with 10gR1 and as of current versions, the JDBC driver relies on the standard java.util.logging framework provided with JDK 1.4 and higher.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms