0 Replies Latest reply on Dec 24, 2014 8:53 AM by tthogho2

    How do i use my own log4j.xml file and log4j.jar in JBoss 5

    tthogho2

      I am Using JBoss  EAP 5.0.1 and my Application has log4j.jar in WEB-INF/lib

      I get error below because of conflict with jboss log4j in common/lib.

       

       

      ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.

      ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by

       

       

      How to fix this error ?

      I want to make application log without changing jboss-log4j.xml