Additional debug loggers ?

Brent Putman putmanb at georgetown.edu
Wed Jan 28 15:36:32 EST 2015


On 1/28/15 3:02 PM, Cantor, Scott wrote:
> Does anyone else have a strong opinion for or against? 
> +1 to using the class.

If nobody else votes otherwise, that's probably what I'll do.

>> Personally, at least for DEBUG, I don't think that's necessary.  DEBUG 
>> inherently means you are debugging the software, pretty low-level, and 
>> for practical reasons I think that just means -impl classes.
> Also typically is just configured at the top level as a default (DEBUG 
> everything).

Good point, most logging is not configured by specific class names -
either with a package (which will often include both -api and -impl
classes) or the root logger.

Although playing devil's advocate to myself: On a production system, to
avoid all the overhead I personally might be inclined to be more
specific about what I set to DEBUG, at least if I had a pretty good idea
in advance of what I needed to see, for a specific problem.  I think
that's where the issue of logging categories based on impl classes comes
in - documentation and changes over time. 



More information about the dev mailing list