Re: monitorInterval not working in tomcat

2017-12-19 Thread Ralph Goers
I would suggest you try it with See http://logging.apache.org/log4j/2.x/manual/configuration.html#Automatic_Reconfiguration Ralph > On Dec 19, 2017, at 5:11 PM, Enric Jaen

Re: monitorInterval not working in tomcat

2017-12-19 Thread Enric Jaen
Please any suggestion why auto-configuration is not working? Enric my libs: log4j-1.2-api-2.10.0.jar      log4j-api-2.10.0.jar      log4j-core-2.10.0.jar     log4j-iostreams-2.10.0.jar    log4j-jcl-2.10.0.jar      log4j-jul-2.10.0.jar      log4j-slf4j-impl-2.10.0.jar  

Re: monitorInterval not working in tomcat

2017-12-10 Thread Enric Jaen
Hi, sorry to ask again, but auto-configuration is not working.. Here is the configuration and the debug log, plz any idea what is wrong?Enric log4j-1.2-api-2.10.0.jar      log4j-api-2.10.0.jar      log4j-core-2.10.0.jar     log4j-iostreams-2.10.0.jar    log4j-jcl-2.10.0.jar     

Re: monitorInterval not working in tomcat

2017-12-04 Thread Enric Jaen
I removed Log4j-1.2.14 and now autoreload works fine: 04-Dec-2017 09:22:58.487 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok) Thanks to all ! Best regards Enric En domingo, 3 de

Re: monitorInterval not working in tomcat

2017-12-03 Thread Remko Popma
Enric, You should be able to remove Log4j-1.2.14 after adding log4j-1.2-api-2.6.2.jar (or log4j-1.2-api-2.4.jar). They provide the same API to the application. The difference is that log4j-1.2-api-2.x.jar uses log4j-core-2.x as its implementation, which is what you want. (Shameless plug)

Re: monitorInterval not working in tomcat

2017-12-03 Thread Enric Jaen
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 escribió: First, remove

Re: monitorInterval not working in tomcat

2017-12-03 Thread Mikael Ståldal
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.

monitorInterval not working in tomcat

2017-12-03 Thread Enric Jaen
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 : *** web.xml (sevlet 3.0)     log4jConfiguration     file:///tmp/log4j2.xml log4j.refresh.interval 5