0 Replies Latest reply on Feb 28, 2012 5:17 AM by Sailaja Yedugundla

    Jboss6.1 logging configuration with old log4j.xml

    Sailaja Yedugundla Newbie

      I am migrating my application from jboss4.2.3 to jboss6.1. We have some code that gets list of appenders and finds log file path using

      Logger.getRootLogger.getAllAppenders().  Now with new logging implementation in Jboss6.1, this api returns empty list. The new logging config file have handlers in place of appenders. There is no api to to get handlers on jboss BridgeLogger. 


      I tried to initialise Jboss logging with old log4j file. But could not do.


      Can anyone help me in using old log4j file with Jboss 6.1 so that my getAllAppenders() api ill work.