public static void closeOutputDirLogging(){
  Logger root=Logger.getRootLogger();
  Appender app=root.getAppender(LOGFILE);
  root.removeAppender(app);
  app.close();
  app=root.getAppender(WARNLOGFILE);
  root.removeAppender(app);
  app.close();
}

public static void closeOutputDirLogging ( ) { Logger root = Logger . getRootLogger ( ) ; Appender app = root . getAppender ( LOGFILE ) ; root . removeAppender ( app ) ; app . close ( ) ; app = root . getAppender ( WARNLOGFILE ) ; root . removeAppender ( app ) ; app . close ( ) ; }
redefine the ioutils method , with a different file and appender name . otherwise , runing a controler in a borader context stops the logging at the end of the controler shutdown .
