[slf4j-user] Reconfigure during runtime

Per Lindberg per.lindberg at facilitylabs.com
Wed Feb 17 13:25:55 CET 2010


Ceki Gülcü wrote:

> On 17/02/2010 11:46 AM, Per Lindberg wrote:

>> Okay, that's nice. Does that mean that if I change the logging level
>> to DEBUG at the LOG4J level, then calls to SLF4J log.debug() will
>> start to output messages? (I have failed to make that work, but
>> perhaps I have just overlooked some small detail...)
> 
> Yes, of course. If you change the logging level to DEBUG at the LOG4J
> level, then calls to SLF4J log.debug() will start to output messages.
> 
>> Can't I just change the logging level by calling log4j
>> logger.setLevel(level) ?
> 
> Yes, you can.

That's reassuring! Now all I have to do is to figure out why
I can't get it to work as it should. :-)

Thanks,
Per


More information about the slf4j-user mailing list