3 Replies Latest reply on Sep 30, 2013 12:04 PM by James Perkins

    Logging not working in 7.1. Works in 7.2

    Alexander Hartner Expert

      I am trying to configure a logger and handler in standalone-full-ha.xml


      <console-handler name="TRACECONSOLE">
          <level name="TRACE"/>
              <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
      <logger category="com.abc.services">
          <level name="TRACE"/>
              <handler name="TRACECONSOLE"/>


      and declare a dependency on log4j in the jboss-deployment-structure.xml

      <?xml version="1.0" encoding="UTF-8"?>
                  <module name="org.apache.log4j" export="true" slot="main"/>     
                  <resource-root path="lib/bcprov-jdk14-131.jar" use-physical-code-source="true"/>


      Doing the same on JBoss 7.2 / JBEAP 6.1 works great, but on 7.1.3 for example nothing appears to be logged. Any pointers on what to change to get this working are truely appreciated.