Using log4j2 as a Third-party Logging Framework in JBoss EAP 7

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content