[slf4j-user] How to programmatically set log level in SLF4J?

Setumadhav Kulkarni sekulkar at tibco.com
Thu Mar 15 06:23:48 CET 2007


No, you can not do this using slf4j... You may have to use the underlying logger apis (like log4j) to do so... Slf4j is just a facade for the common logging apis...
I also learn that programatically setting the log properties is not a common practise...
Thanks and Regards,
Setu
-----------------------------------
setu at tibco.com
off: +91.20.30212111
mob: +91.9960692038


-----Original Message-----
From: user-bounces at slf4j.org <user-bounces at slf4j.org>
To: user at slf4j.org <user at slf4j.org>
Sent: Wed Mar 14 22:20:20 2007
Subject: [slf4j-user] How to programmatically set log level in SLF4J?

Hi!

With Log4j, we can programmatically set the log level via
Logger.setLevel(Level).
How can we do the same using SLF4J?
_______________________________________________
user mailing list
user at slf4j.org
http://www.slf4j.org/mailman/listinfo/user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20070314/569d5fa8/attachment.htm>


More information about the slf4j-user mailing list