is.close();
LogManager.getLogManager().readConfiguration(
new ByteArrayInputStream(sb.toString().getBytes()));
FileHandler fileHandler = new FileHandler(logFile);
fileHandler.setFormatter(new XMLFormatter());
Logger rootLogger = Logger.getLogger("");
rootLogger.addHandler(fileHandler);
// Set system property so that SocketHandler can write the logs from remote machines
System.setProperty("faban.log.file", logFile);