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

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