Skip to navigation

How to separate Log4J application logging from the server.log in JBoss EAP 6?

Updated 2014-02-25T14:12:39+00:00


  • Application logging going to server.log when log4j.xml is packaged in our application.
  • Messages are not logged in server.log. We use slf4j as our application's logging framework, but when we deploy our WAR into JBoss and invoke a component that does logging, we don't see any messages.
  • I would like to separate my application's logging configuration in a log4j.xml file outside the JBoss configuration (e.g. domain.xml or standalone.xml).
  • My logging isn't working correctly, and I'm seeing messages like:
16:17:03,188 INFO  [stdout] (Finalizer) log4j: Finalizing appender named [myAppender1].
16:17:03,189 INFO  [stdout] (Finalizer) log4j: Finalizing appender named [myAppender2].


  • Red Hat JBoss Enterprise Application Platform (EAP) 6.x

Subscriber content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.