Hi, >The upshot of this is the ability to dynamically change the "level" of >debug messages being viewed.
Chainsaw is great for this with log4j. But that's besides the point. The reason I like the TRACE level as a standard is not because of the above. It's because commons-logging expects it and JDK logging has it (as FINE). I think the JDK logging levels of FINE, FINER, FINEST in addition to the normal levels are completely overkill. But one TRACE level is a good option to have. I don't really agree with your use case though. You said you find yourself having to add more detailed debug statements and then comment them out. This is design-time and compile-time stuff. Would it be accurate to say you only leave the "real" DEBUG-level statements in the code when you ship to production? A big advantage of log4j is its small footprint and high speed. The introduction of finer logging levels as part of the standard distribution will encourage people to use these levels more. That in turn will lead to slower run-time performance of these systems in production, unless you are careful to take out all the TRACE-level statements before shipping the product. And if you have to take out all the TRACE-level statements before shipping, what use are they? ;) I think the idea is if someone wants to really log things at a very fine level, like the original poster in this thread, then they have to go through some effort because this logging will slow down the system and that's not something the log4j architects want to encourage... Yoav Shapira Millennium ChemInformatics
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>