This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] make security tests silent


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]