dev@glassfish.java.net

Re: LogHelper

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Mon, 22 Jun 2009 23:02:31 -0700

Sahoo wrote:
> Bill Shannon wrote:
>>
>> Anyone know why this class is creating an anonymous logger, which it then
>> shares with anyone who asks?
> I only refactored the methods out of Utils class to a separate class
> called LogHelper as part of revision #756 [1]. I don't know why the code
> was written that way in Utils.class. We should create a logger in HK2
> namespace.

Maybe Jerome knows the history?

>> And why does code *outside* of hk2 use this
>> helper class rather than creating a Logger of their own?
> Nobody outside HK2 should use this class.

At least CommandRunnerImpl.java and AdminAdapter.java use it.
NetBeans finds a few others as well.

Who wants to clean this up?