My Oracle Support Banner

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

Last updated on OCTOBER 12, 2020

Applies to:

Oracle Containers for J2EE - Version 10.1.3.3.0 and later
Information in this document applies to any platform.

Goal

Q1: After adding the entries to the j2ee-logging.xml file in AS 10.1.3.3 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: You 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. You
would like to create a new application specific log file that IS VIEWABLE THRU THE LOG VIEWER.
Right now you can create logs anywhere which is good, but you am not able to view them through the
Log Viewer under the Administrative pages. What is missing?

The other related problem you have is when you add an ODLS log configuration in the Edit Deployment
Plan:Log page. It creates the log ok, but you cannot see it in the Viewer. You are able to create a
handler within the J2EE-logging.xml file that routes logging statements to the new odls log file
but you can't view the file through the Log Viewer. How do you 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?



Solution

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
Goal
Solution
References


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