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

Thorbjørn Ravn Andersen ravn at runjva.com
Thu Oct 2 22:32:06 CEST 2008


Ceki Gulcu skrev:
>
>> Actually in the article I used the INFO level as it is the lowest level 
>> printed out by j.u.l without a configuration file.  I think it would be 
>> a valid default level to keep the entry barrier as low as possible, and 
>> then have a "level" keyword to the agent to override this.
>>     
>
> User comfortable with java bytecode changing can probably deal with setting the 
> level of the root logger.
>   
Depends on which users you want to reach.

I was thinking of those who needs the "log method calls" functionality 
and not using slf4j already.  If you can say "drop these jars in your 
project, add this javaagent, and rerun" you have a very low entry barrier.

Why make it more complicated than that?



More information about the slf4j-dev mailing list