Hi,

On Wed,  8 Aug 2001 06:10, giacomo wrote:
> I have to confess that I don't know how this works in all my components
> that are based on AbstractLoggable and have the logger passed in from
> ExcaliburCM.

Just looked at ExcaliburCM and it doesn't really support separate loggers per 
component. Berin what do you think of adding an extra attribute to component 
definition so that you can specify name of logger. Then later on instead of 
doing 

myComponent.setLogger( getLogger() );

you do

if( null != loggerName )
{
  myComponent.setLogger( getLogger().getChildLogger( loggerName ) )
}
else
{
  myComponent.setLogger( getLogger() )
}

Thoughts?

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

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

Reply via email to