Re: log4j2.xml won't get read

2017-09-23 Thread Mikael Ståldal
I don't know how Wildfly works, but maybe you should ask this question to any support forum of Wildfly. On 2017-09-19 13:16, Christian Wansart wrote: Hello, I am working on a jax-rs project that uses log4j through slf4j-api and log4j-slf4j-impl. So far, I configured the logging pattern via W

Re: log4j2.xml won't get read

2017-09-20 Thread Christian Wansart
Hello, it works when I use log4j.xml with this structure: http://jakarta.apache.org/log4j/"; debug="true"> My guess is that this is the old log4j 1 syntax, but it is currently the only thing that works for Wildfly. I should ask the Wildf

log4j2.xml won't get read

2017-09-19 Thread Christian Wansart
Hello, I am working on a jax-rs project that uses log4j through slf4j-api and log4j-slf4j-impl. So far, I configured the logging pattern via Wildfly’s standalone.xml. But I want to have a project wide config file for logging. I put a log4j2.xml in the resources folder, but when I run it, it jus