java.lang.ClassNotFoundException: org.apache.log4j.spi.LoggerFactory When Configuring Log4J 2 for Weblogic Logging Services
(Doc ID 1987983.1)
Last updated on JUNE 11, 2024
Applies to:
Oracle WebLogic Server - Version 10.3.6 and laterInformation in this document applies to any platform.
Symptoms
The official documentation for WebLogic Logging Services mentions that Log4j implementation could be used. There is no specification on which Log4j version this integration could be done.
Log4j project has launched the second release of their logger due maintenance purposes and also to adopt cutting edge technologies.
When attempting to use log4j version 2 on WebLogic Server 12.1.3 the following error occurs.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |