[patch] make security tests silent
Andreas Tobler
toa@pop.agri.ch
Tue Nov 16 21:40:00 GMT 2004
Bryce McKinlay wrote:
> 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.
Ok, for the moment we decided to stay with my approach. Later on when we
agreed on a logging strategy we can change this to use it.
I commit the attached patch in a few minutes.
Thanks,
Andreas
2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
* java/security/Security.java (Security): Silence the warning about no
providers found in the no debug case.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: security-warning.diff
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20041116/c6277b5f/attachment.ksh>
More information about the Java-patches
mailing list