This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I use log4j in my application. It's configured thru an log4j.properties file.At the beginning of my application I set the log4j log level with a command line parameter to DEBUG.
I do that because I want see my apps's debug messages. That works BUT the result is that I also get all DEBUG messages from the 3rd party - in that case the debug messages from iBATIS.
Of course I know (I read in the log4j docu) that all loggers inherit from the rootLevel so the behavior is not amazing (or is it?). But then how can I set the log level in my application independed to the iBATIS framework? [ August 07, 2008: Message edited by: Oliver Brocker ]