Assuming your configuration is still the same (root logger with appender 
"test") then the call

  Appender ap = LogManager.getRootLogger().getAppender( "test");

should return your file appender "test". Doesn't it?

If you call Logger.getLogger( "Test" ) you get a logger instance without any 
appenders attached. Since the additivity property of this logger is true, a log 
call to this logger will go up within the hierarchy and end up at the root 
logger which has the appender "test".


Heri

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

Reply via email to