i cannot remove log4j-1.2 because we depend on 3rd lib that uses them. That's
why we have bridge to log4j2. I downgraded all to 2.4 but not working
autoreload.
Enric
En domingo, 3 de diciembre de 2017 16:24:23 GMT, Mikael Ståldal
<[email protected]> escribió:
First, remove log4j-1.2.14.jar from classpath.
Then make sure you use the same version of all Log4J 2.x jars, now you
are mixing 2.4 with 2.6.2.
On 2017-12-03 17:07, Enric Jaen wrote:
> 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 ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]