/** * If the value of <b>File</b> is not <code>null</code>, then {@link * #setFile} is called with the values of <b>File</b> and * <b>Append</b> properties. * */ public void activateOptions() { if (fileName != null) { try { setFile(fileName, fileAppend, bufferedIO, bufferSize); } catch (java.io.IOException e) { reportError("setFile(" + fileName + "," + fileAppend + ") call failed.", e, ErrorManager.OPEN_FAILURE); } } else { reportError("File option not set for appender [" + name + "]." +" Are you using FileHandler instead of ConsoleAppender?", null, ErrorManager.OPEN_FAILURE); } }
/** * If the value of <b>File</b> is not <code>null</code>, then {@link * #setFile(String)} is called with the values of <b>File</b> and * <b>Append</b> properties. * */ public void activateOptions() { if (fileName != null) { try { setFile(fileName, fileAppend, bufferedIO, bufferSize); } catch (java.io.IOException e) { reportError("setFile(" + fileName + "," + fileAppend + ") call failed.", e, ErrorManager.OPEN_FAILURE); } } else { reportError("File option not set for appender [" + name + "]." +" Are you using FileHandler instead of ConsoleAppender?", null, ErrorManager.OPEN_FAILURE); } }
/** * If the value of <b>File</b> is not <code>null</code>, then {@link * #setFile} is called with the values of <b>File</b> and * <b>Append</b> properties. * */ public void activateOptions() { if (fileName != null) { try { setFile(fileName, fileAppend, bufferedIO, bufferSize); } catch (java.io.IOException e) { reportError("setFile(" + fileName + "," + fileAppend + ") call failed.", e, ErrorManager.OPEN_FAILURE); } } else { reportError("File option not set for appender [" + name + "]." +" Are you using FileHandler instead of ConsoleAppender?", null, ErrorManager.OPEN_FAILURE); } }