Dynamically configuring logging in WebLogic Server

In the recipe Setting up logging in Chapter 1, Pre-requisites to Success: ADF Project Setup and Foundations, we introduced the Oracle Diagnostics Logging (ODL) framework and how it could be utilized in an ADF Fusion web application through the ADFLogger class. In this recipe, we will demonstrate how to dynamically configure the ODL log level for a WebLogic Server instance at runtime. Specifically, we will configure the oracle.jbo business components logger for the ManagedServer1 WebLogic Server instance to use the NOTIFICATION log level. ManagedServer1 was created in Configuring and using the Standalone WebLogic Server, Chapter 10, Deploying ADF Applications. Dynamic log configuration ...

Get Oracle JDeveloper 11gR2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.