Configure Oracle Diagnostic Logging for IntegratedWebLogicServer

If you are not able to easily find the error in your application, you can use the Oracle Diagnostic Logging to investigate where your application failure occurs. The Oracle Diagnostic Logging Configuration editor configure the logging levels specified in the logging.xml file. The file can be configured at any time, even while the application is running in JDeveloper. Using the Oracle Application Development Framework Documentation (42.6 Using the ADF Logger), let’s configure Oracle Diagnostic Logging for IntegratedWebLogicServer.

In Application Servers window, right-click the IntegratedWebLogicServer and choose Configure Oracle Diagnostic Logging for IntegratedWebLogicServer, to open the logging.xml file.


You can find the logging.xml file here:

# Linux

# Windows

By default, the level is set to WARNING for all Oracle loggers.
The Java logging system supports the following log levels:

  • SEVERE (most restrictive, highest log level)
  • INFO
  • CONFIG (the highest low level supported for Oracle ADF)
  • FINE
  • FINEST (least restrictive, lowest log level)

Expand the Root Logger (default) and oracle nodes.
Set the level of oracle.adfdiagnostics to “FINE”, to log events generated by source code for the ADF Model, ADF Controller, ADF Business Components, and Oracle ADF internal classes. Do not configure a Java log level that is more restrictive than CONFIG.


Run the application.
To log an Entity DML event, create a new employee and click Commit.


To analyze the log, use Oracle Diagnostic Log Analyzer.
In the Main menu, choose Tools > Oracle Diagnostic Log Analyzer.
In the Oracle Diagnostic Log Analyzer editor, select By Log Message option.
Filter the log by this ADF event message: Entity DML.


Select Related by ADF Request in the Related column of the Results panel, to display the By ADF Request page with the ADF event messages arranged hierarchically, to show their execution dependencies.



You can also use these additional ADF event messages to filter log:

  • Executing iterator binding
  • Executing method binding
  • Execute query
  • Refreshing binding container
  • Attaching an iterator binding to a datasource
  • Converting rows into hierarchical nodes
  • Estimated row count
  • Get LOV list
  • Filter LOV list
  • Validate Entity
  • Lock Entity’s Parent
  • Lock Entity
  • Before posting the entity’s changes
  • Posting the entity’s changes
  • Posting in batches
  • Before committing the entity’s changes
  • After committing the entity’s changes
  • Before rolling back the entity’s changes
  • After rolling back the entity’s changes
  • Entity notifying an event
  • Entity notification name
  • Removing Entity
  • Updating audit columns
  • Applying Effective Date change
  • Entity DML
  • Entity read all attributes
  • Create Application Module
  • Create nested Application Module
  • Passivating Application Module
  • Activating Application Module
  • Establish database connection
  • Commit transaction
  • Rollback transaction
  • Validate transaction
  • Validate value

2 replies on “Configure Oracle Diagnostic Logging for IntegratedWebLogicServer”

Hi Waslley Souza ,

Thanks for the nice post. I have small doubt “how can we get / write these log files to our own specified file created by system date”. can you please help me on this.

Best Regards,


you can create a log handler like this:

<log_handler name='my-odl-handler' class='oracle.core.ojdl.logging.ODLHandlerFactory' filter='oracle.dfw.incident.IncidentDetectionLogFilter'>
   <property name='path' value='${domain.home}/servers/${weblogic.Name}/logs/myApplicationLog.log'/>
   <property name="rotationFrequency" value="daily"/>
   <property name='encoding' value='UTF-8'/>
   <property name='useThreadName' value='true'/>

and add it to default’s logger as a handler.

<logger name='' level='WARNING' useParentHandlers='true'>
   <handler name='my-odl-handler'/>

If you only need ADF logs in this file, you can change the oracle.adfdiagnostics logger:

<logger name='oracle.adfdiagnostics' useParentHandlers='true' level="FINE">
  <handler name='my-odl-handler'/>

this way, you will have an log file per day

Comments are closed.