On Wed, 28 Nov 2001 18:42, giacomo wrote:
> Hi all
>
> I'd like to raise some of the logging messages from DEBUG to INFO for the
> poolable objects in the ExcaliburCM system because decommissioning of
> objects is an important pool tuning information and IMO they should have a
> higher logging level as they have today.

Another option would be to create another subcategory and use that logger. 
Something like

private Logger _poolingLogger;

enableLogging( Logger logger )
{
 super.enableLogging( logger );
 _poolingLogger = logger.getChildLogger( "pooling" );
}


void decomission()
{
  _poolingLogger.debug( "Some pooling data" );
}


And then when you are tuning your application you turn on debug in the 
"pooling" category but leave the rest at whatever other level you want to 
keep.

-- 
Cheers,

Pete

---------------------------------------------
 We shall not cease from exploration, and the 
  end of all our exploring will be to arrive 
 where we started and know the place for the 
        first time -- T.S. Eliot
---------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to