log4j2 is working fine, but not the auto reload. I have tried several 
configurations but none has worked. This is the latest I tried:

*** log4j2.xml :
<Configuration status="trace" monitoringInterval="5">


*** web.xml (sevlet 3.0)<context-param>
    <param-name>log4jConfiguration</param-name>
    <param-value>file:///tmp/log4j2.xml</param-value>
</context-param>

<context-param>
     <param-name>log4j.refresh.interval</param-name>
     <param-value>5</param-value>
</context-param>

    <listener>
        <listener-class>
            org.apache.logging.log4j.web.Log4jServletContextListener
        </listener-class>
    </listener>


**** jars deployed:
log4j-1.2.14.jar                  log4j-iostreams-2.4.jar           
log4j-taglib-2.4.jarlog4j-1.2-api-2.6.2.jar  log4j-jcl-2.6.2.jar      
log4j-web-2.6.2.jarlog4j-api-2.6.2.jarlog4j-jul-2.4.jar                 
log4j-core-2.6.2.jar              log4j-slf4j-impl-2.4.jar

Please any suggestion ?

Best regards
Enric

Reply via email to