[patch] make security tests silent

Bryce McKinlay mckinlay@redhat.com
Mon Nov 15 19:59:00 GMT 2004


Michael Koch wrote:

>Am Montag, 15. November 2004 20:40 schrieb Bryce McKinlay:
>  
>
>>It would be nice for us to have a more fine-grained way to select
>>debug messages rather than just Configuration.DEBUG,  to allow the
>>user select what types of debug messages get printed at runtime,
>>but we don't have that, yet.
>>    
>>
>
>What about java.util.logging ? I think JDK uses it internally too.
>  
>

Yeah, we could use that, along with some developer guidelines about what 
types of messages should go into each logging level, etc. We'd want to 
have customized logging levels, or some way for a user to select which 
messages get printed by category. For example, I might want all levels 
of serialization debugging messages to be printed but nothing else.  
Also, we should still surround logging calls with a Configuration.DEBUG 
check, so that optimized builds don't have additional overhead.

Bryce



More information about the Java-patches mailing list