How To Log SQL Statement/PreparedStatement of Oracle SQL Driver in WebLogic Server

(Doc ID 1352042.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.1 and later   [Release: and later ]
Information in this document applies to any platform.

Goal

Sometimes we need to print SQL statements sent from applications or WebLogic Server internals to the database. When the Oracle JDBC Driver is used, it can be done with its logging feature.


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