package org.jboss.logmanager.handlers;
Construct a new instance with no formatter and no output file.
Construct a new instance with the given output file.
Construct a new instance with the given output file and append setting.
Construct a new instance with the given output file.
Construct a new instance with the given output file and append setting.
- Parameters:
fileName the file nameappend true to append, false to overwrite- Throws:
java.io.FileNotFoundException if the file could not be found on open
Construct a new instance with no formatter and no output file.
Construct a new instance with the given output file.
Construct a new instance with the given output file and append setting.
super.setOutputStream(outputStream == null ? null : new CountingOutputStream(outputStream));
Set the rotation size, in bytes.
- Parameters:
rotateSize the number of bytes before the log is rotated
Set the maximum backup index (the number of log files to keep around).
- Parameters:
maxBackupIndex the maximum backup index
for (int i = maxBackupIndex - 1; i > 1; i--) { public void write(final byte[] b, final int off, final int len) throws IOException {