admin@glassfish.java.net

Re: CODE REVIEW: FindBugs: admin/validator/src/java/com/sun/enterprise/config/serverbeans/validation/Result.java

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Fri, 04 May 2007 11:26:20 -0700

Lloyd L Chambers wrote:
> Logging is problematic with FINE, because multiple megabytes of crud
> spews out, hiding items of interest.
>
> That's why I never use logging for debugging. True debugging is not
> appropriate for the log IMO.

I think the idea is that you only turn the log level to FINE (or FINER,
or FINEST) for the loggers corresponding to the code you're debugging.
Cranking it up to FINE for everything would of course make it impossible
to debug.