My Oracle Support Banner

Web Application Defined Logs Not Writting To Odls Defined Logs Or Anywhere Else. (Doc ID 552511.1)

Last updated on DECEMBER 05, 2018

Applies to:

Oracle Containers for J2EE - Version:
Information in this document applies to any platform.


Q1: After adding my entries to the j2ee-logging.xml file in AS then restarting the OC4J
service, no new logging messages show up in the logs. *In fact the messages that were showing up
on the Eclipse console no longer appear. Where did they go?

Q2: I still have a problem in that I can only get log entries to show up in the OC4J Log viewer by
having them route to the main oc4j/log.xml. This file as you know is the largest log in OC4J. I
would like to create a new application specific log file that IS VIEWABLE THRU THE LOG VIEWER.
Right now I can create logs anywhere which is good, but I am not able to view them through the
Log Viewer under the Administrative pages. I have no idea what I am missing!

The other related problem I have is when I add an ODLS log configuration in the Edit Deployment
Plan:Log page. It creates the log ok, but I cannot see it in the Viewer. I am able to create a
handler within the J2EE-logging.xml file that routes logging statements to the new odls log file
but I can't view the file through the Log Viewer. How does one make a odls compatable log file
show up on the Log Viewer list of logs?

Q3: What is the ODLS log entry for in the "Edit Deployment Plan"/"Edit Logs" page for?


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

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