My Oracle Support Banner

Best Practices On How To Setup Coherence Logging in WebLogic Server 10.3 and 12.1.1 Environments (Doc ID 1905099.1)

Last updated on AUGUST 11, 2021

Applies to:

Oracle Coherence - Version 3.5.3 and later
Oracle WebLogic Server - Version 10.3.4 to 12.1.1.0
Information in this document applies to any platform.

Purpose

This document describes best practices on how to setup Coherence logging in WebLogic Server 10.3.x and 12.1.1 environments.

Coherence logging of all Coherence cluster members at a sufficient log level is essential when analyzing a problem observed with a Coherence cluster.

By default Coherence prints log messages to "standard error".

Many upper layer Oracle Fusion Middleware products configure the managed WebLogic Server instances to start with the java system property:

which tells Coherence to use Java's logging infrastructure, java.util.logging (JDK 1.4 Logging API).

However, since those products don't provide specific configuration to properly setup java.util.logging, the ConsoleHandler will be used to print log messages to "System.err".
As a result the Coherence log messages will appear on the operating system shell console or in the WebLogic Server managed Coherence Server out files only.

This document explains how to configure

Scope

Applications and upper layer Oracle Fusion Middleware products using Coherence with in-process, out-of-process or out-of-process with Coherence*Extend topology in WebLogic Server 10.3.x and 12.1.1 environments.

Details

To view full details, sign in with your My Oracle Support account.

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


In this Document
Purpose
Scope
Details
 Brief Description of Coherence Topologies
 In-Process Topology
 Out-Of-Process Topology
 Out-Of-Process with Coherence*Extend Topology
 Brief Description of Coherence Logging Options
 Coherence logging
 Java logging (JDK 1.4 java.util.logging)
 Log4J
 Configuring Coherence Logging with Java Logging API (java.util.logging) on Application Layer (Managed WebLogic Servers)
 Configuring Coherence Logging with Apache Log4J on Coherence Data Grid Layer (Managed Coherence Servers)
 Configuring Coherence Logging with Apache Log4J on Application Layer (Managed WebLogic Servers)
 Validation Checks
 References
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.