On Jun 11, 2008, at 12:57 PM, MrNobody wrote:


In the property file I can set a particular package or class to have DEBUG
level, despite what my overall logging level is, like this:

log4j.logger.com.ibatis=DEBUG

How do I do this programatically - (in the code, not in property file) ???

Logger.getLogger("com.ibatis").setThreshold(Level.DEBUG);


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to