On Jun 29, 2005, at 11:21 AM, Javier Gonzalez wrote:
Erm, yeah, that's the same thing I thought... :D I know I do it, and I guess I can bash the other developers' heads with the log4j manual until they see the light ;)
There was a somewhat related request on the slf4j-dev mailing list to have an "ignore" level (http://www.slf4j.org/pipermail/dev/2005-June/ 000127.html) for expected exceptions. For us, I think the most reasonable approach is to provide some configuration in the stock PatternLayout to configure a threshold below which stack traces are not expanded. If you never wanted to see stack traces, you could configure the PatternLayout with a threshold of Level.OFF or you could set a threshold of Level.INFO if you wanted to see stack traces for info and higher but not for debug.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
