try {
if (logFile == null || logfileHandler != null) {
return;
}
logfileHandler = new FileHandler(logFile, true);
logfileHandler.setFormatter(new ODLLogFormatter());
logfileHandler.setLevel(Level.INFO);
logger.addHandler(logfileHandler);
}
catch (IOException e) {
// should be seen in verbose and watchdog modes for debugging