Re: Log4j2 set log level, cascade

2015-10-20 Thread Gary Gregory
Ben, I would recommend using the current version 2.4.1. I think I added those for 2.4... You can just get the sources from Git and copy the new methods you need to your code base. Of course, using the current version is better IMO. Gary On Tue, Oct 20, 2015 at 3:55 PM, Benjamin Jaton wrote: >

Re: Log4j2 set log level, cascade

2015-10-20 Thread Benjamin Jaton
It doesn't look like this is available in 2.3, was it added recently? Any workaround for 2.3? Thanks Ben On Tue, Oct 20, 2015 at 3:26 PM, Gary Gregory wrote: > Check out the > APIs org.apache.logging.log4j.core.config.Configurator.setAllLevels(String, > Level) and setLevel(). > > Gary > > On Tu

Re: Log4j2 set log level, cascade

2015-10-20 Thread Gary Gregory
Check out the APIs org.apache.logging.log4j.core.config.Configurator.setAllLevels(String, Level) and setLevel(). Gary On Tue, Oct 20, 2015 at 3:13 PM, Benjamin Jaton wrote: > Hello, > > Here is a simple configuration: > > > > > > > > > > ** > > > *

Log4j2 set log level, cascade

2015-10-20 Thread Benjamin Jaton
Hello, Here is a simple configuration: ** ** ** I am trying to programmatically set the log level of "com.rli", but I can't find the Loggers until they are used: *System.setProperty("log4j.configurationFi