My Oracle Support Banner

Sample on How To Access Log4j Configuration Inside an Application Deployed to WebLogic Server (Doc ID 1167514.1)

Last updated on NOVEMBER 17, 2023

Applies to:

Oracle WebLogic Server - Version 9.2 to 10.3.4
Information in this document applies to any platform.
Baisc steps to configure Log4j using xml and send out put to a log file



Goal

 This sample demonstrates how to configure Log4j setup using XML file. The sample uses simple Servlet to use the log4j.xml.

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
 Requirements
 Configuring
 Instructions
 Sample Code
 Sample Output


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