Re: Adding level to appender in manual code configuration in log4j2

2017-09-23 Thread Ralph Goers
> On Sep 23, 2017, at 8:11 AM, Alex Sviridov > wrote: > > Hi all > > From here > (https://logging.apache.org/log4j/2.0/faq.html#config_sep_appender_level) > >> You don’t need to declare separate loggers to achieve this. You can >> set the logging level on the

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

Adding level to appender in manual code configuration in log4j2

2017-09-23 Thread Alex Sviridov
Hi all From here (https://logging.apache.org/log4j/2.0/faq.html#config_sep_appender_level) > You don’t need to declare separate loggers to achieve this. You can > set the logging level on the AppenderRef element. And xml example (part):             But I can't find a way to do it