0 Replies Latest reply on Oct 11, 2017 6:26 AM by asraf.shaikh

    How can i add Apache Log4j 2 in jboss logging

    asraf.shaikh

      I need to add Apache Log4j 2 in jboss logging so that i could add

            <PatternLayout pattern="%date{yyyy-MM-dd HH:mm:ss.SSS}{UTC}Z %-5level [%15.15thread] %-40.40logger{1.} %mdc : %msg%n"/>

      for logging.

       

      with existing logging in Jboss this pattern doesnt seems to work.

      Hence, looking to add Apache Log4j as a default logging.

       

      Could any one suggest how i can achieve this. Do i need write custom handler for this ?