[slf4j-dev] svn commit: r1155 - in slf4j/trunk/slf4j-ext/src/main/java/org/slf4j: agent instrumentation

Ralph Goers ralph.goers at dslextreme.com
Fri Oct 3 07:30:02 CEST 2008



Ceki Gulcu wrote:
> logging for the entire class. Had you used markers, one could enable/disable 
> entry/exit logging without necessarily affecting logging in the rest of the 
> containing class. By the way, XLogger.enter() and exit() methods use the 
> appropriate markers.
>   
I mentioned this as well. It makes more sense to me to use the XLogger 
methods for this.
> I'd also like to point that XLogger.enter and exit() method use the TRACE level 
> whereas LogTransformer uses DEBUG. A little consistency is in oder... Either 
> both use TRACE or both should use DEBUG.
>
>   
Obviously, I prefer TRACE for this. Logging with flow tracing enabled is 
very high overhead. Enabling DEBUG shouldn't enable it.

Ralph



More information about the slf4j-dev mailing list