{
String rollMode = _config.getString("wrapper.logfile.rollmode", "");
boolean append = !(rollMode.contains("WRAPPER") || rollMode.contains("JVM"));
int count = _config.getInt("wrapper.logfile.maxfiles", 1);
int limit = getLogLimit();
_fileHandler = fileName.contains("%d") ? new DateFileHandler(fileName, limit, count, append) : new FileHandler(fileName, limit, count,
append);
_fileHandler.setFormatter(getFileFormatter());
_fileHandler.setLevel(getLogLevel(fileLogLevel));
}
catch (Exception e)