LOG4J With Multiple Jvms in OAS 10.1.3 (Doc ID 603008.1)

Last updated on AUGUST 14, 2013

Applies to:

Oracle Containers for J2EE - Version 10.1.2.2.0 and later
Information in this document applies to any platform.
***Checked for relevance on 14-Ago-2013***

Goal

The application is using log4j to a rolling file appender for application debugging. Both JVMs are logging to the same file. Is there a configuration for log4j that will write to OC4J/island/process directories? Or is there another way that should be followed so that the log4j logs into different files for each JVM?

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