Using log4j2 as a Third-party Logging Framework in JBoss EAP 7
Issue
-
Configuration as a 3rd-party logging framework:
-
I see this in the log:
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.or
"ERROR [stderr] ... ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console..."
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7
- Apache Log4J 2 application logging.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.