public void configureDebugLog(){
  LoggerContext context=(LoggerContext)LoggerFactory.getILoggerFactory();
  try {
    JoranConfigurator configurator=new JoranConfigurator();
    configurator.setContext(context);
    context.reset();
    configurator.doConfigure(apacHome + File.separator + "config-files/logback-debug.xml");
  }
 catch (  JoranException je) {
  }
  StatusPrinter.printInCaseOfErrorsOrWarnings(context);
}

public void configureDebugLog ( ) { LoggerContext context = ( LoggerContext ) LoggerFactory . getILoggerFactory ( ) ; try { JoranConfigurator configurator = new JoranConfigurator ( ) ; configurator . setContext ( context ) ; context . reset ( ) ; configurator . doConfigure ( apacHome + File . separator + "config-files/logback-debug.xml" ) ; } catch ( JoranException je ) { } StatusPrinter . printInCaseOfErrorsOrWarnings ( context ) ; }
method to configure the logging infrastructure to use the debug logging configuration file .
