; > >> Looking at https://logging.apache.org/log4j/2.0/manual/jmx.html
> > >> Doesn't seem like the solution.
> > >> Asking the user to bring up jconsole seems rather excessive.
> > >> I just want to provide 3 radio buttons in my configuration. Logging
&g
[mailto:boa...@gmail.com]
Sent: Monday, November 09, 2015 7:54 PM
To: Log4J Users List
Subject: Re: Change log level on the fly?
Loggers can be reconfigured through JMX.
On 9 November 2015 at 19:53, John Lussmyer <john.lussm...@efi.com> wrote:
> I'm hoping there is an easy to to ju
t;> I just want to provide 3 radio buttons in my configuration. Logging
>> Normal, Medium, Full.
>>
>> -Original Message-
>> From: Matt Sicker [mailto:boa...@gmail.com]
>> Sent: Monday, November 09, 2015 7:54 PM
>> To: Log4J Users List
>> Subject: Re:
Logging
> Normal, Medium, Full.
>
> -Original Message-
> From: Matt Sicker [mailto:boa...@gmail.com]
> Sent: Monday, November 09, 2015 7:54 PM
> To: Log4J Users List
> Subject: Re: Change log level on the fly?
>
> Loggers can be reconfigured through JMX.
&
I'm hoping there is an easy to to just change the root level of my logger
configuration on the fly.
I want to be able to provide a configuration option to my users to turn up the
logging level.
I don't want to reconfigure everything, just change the level.
Is there any easy way to do that? Or
We have unit tests that do this. Basically you need to do:
final LoggerContext ctx = (LoggerContext) LogManager.getContext(false);
final Configuration config = ctx.getConfiguration();
Map loggers = config.getLoggers();
for (Map.Entry logger :
Logging
>> Normal, Medium, Full.
>>
>> -Original Message-
>> From: Matt Sicker [mailto:boa...@gmail.com]
>> Sent: Monday, November 09, 2015 7:54 PM
>> To: Log4J Users List
>> Subject: Re: Change log level on the fly?
>>
>> Loggers can be rec
nfiguration. Logging
> >> Normal, Medium, Full.
> >>
> >> -----Original Message-
> >> From: Matt Sicker [mailto:boa...@gmail.com]
> >> Sent: Monday, November 09, 2015 7:54 PM
> >> To: Log4J Users List
> >> Subject: Re: Change log leve
Loggers can be reconfigured through JMX.
On 9 November 2015 at 19:53, John Lussmyer wrote:
> I'm hoping there is an easy to to just change the root level of my logger
> configuration on the fly.
> I want to be able to provide a configuration option to my users to turn up