{
final Logger logger =
m_loggerManager.getLoggerForCategory( categoryName );
final org.apache.log.Logger logkitLogger =
getHierarchy().getLoggerFor( categoryName );
final LogKit2AvalonLoggerAdapter target =
new LogKit2AvalonLoggerAdapter( logger );
logkitLogger.setLogTargets( new LogTarget[ ] { target } );
if ( logger.isDebugEnabled() )
{
logkitLogger.setPriority( Priority.DEBUG );