code: public static void setLogfile(Class<? extends IRTLogger> loggerClass,
  			File outputFile) throws FileNotFoundException
  	{
  		for (IRTLogger logger : loggers)
  		{
  			if (logger.getClass() == loggerClass)
  			{
  				logger.setLogfile(outputFile);
  				logger.dump(true); // Write out and close previous
  			}
  		}
  
  		enable(true);
  	}
docs: Configure the logger output types
  
  @param loggerClass
  the logger class
  @param outputFile
  the output file
  @throws FileNotFoundException