[slf4j-dev] Re: TRACE level

Greg Wilkins gregw at mortbay.com
Wed Jul 6 23:16:28 CEST 2005


Endre Stølsvik wrote:

> | They are not warnings and they are not errors.  They are also too verbose for debug.
> 
> They would fit in trace, wouldn't they?

I currently put them in trace - but then you get the problem that if you turn on
trace - all the stack traces can obscure all the other trace.

See my last posting with Subject "Re: Ignore method" for a real world example complaint
I received this morning.

The problem with just putting them in a X level is that on/off is not enough.
You need the logger to react to the ignore signature or the ignore marker
and be able to log nothing, just the exception toString, a summary of the stack
trace, the whole stack trace, the whole hierarchy of nested exceptions.

cheers



More information about the slf4j-dev mailing list