public class AccessLogWriter extends AbstractRolloverLog
Modifier and Type | Field and Description |
---|---|
protected static L10N |
L |
protected static java.util.logging.Logger |
log |
_pathFormat
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the log, flushing the results.
|
protected TempStreamApi |
createTempStream() |
void |
destroy()
Closes the log, flushing the results.
|
protected void |
flush()
Writes to the underlying log.
|
void |
init()
Initialize the log.
|
protected void |
waitForFlush(long timeout) |
protected void |
wake() |
flushStream, getArchiveFormat, getArchivePath, getArchiveSuffix, getFormatName, getPath, getPath, getPathFormat, getPwd, getRolloverCheckPeriod, getRolloverPeriod, getRolloverSize, getTempStreamMax, isClosed, rollover, setArchiveFormat, setLastTime, setPath, setPathFormat, setRolloverCheckPeriod, setRolloverCount, setRolloverCron, setRolloverPeriod, setRolloverSize, setRolloverSizeBytes, toString, write
protected static final L10N L
protected static final java.util.logging.Logger log
public void init() throws java.io.IOException
AbstractRolloverLog
init
in class AbstractRolloverLog
java.io.IOException
protected void flush()
AbstractRolloverLog
flush
in class AbstractRolloverLog
protected void wake()
protected void waitForFlush(long timeout)
protected TempStreamApi createTempStream()
createTempStream
in class AbstractRolloverLog
public void close() throws java.io.IOException
AbstractRolloverLog
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class AbstractRolloverLog
java.io.IOException
public void destroy() throws java.io.IOException
java.io.IOException