com.caucho.server.log
Class AccessLogWriter

java.lang.Object
  extended by com.caucho.log.AbstractRolloverLog
      extended by com.caucho.server.log.AccessLogWriter

public class AccessLogWriter
extends AbstractRolloverLog

Represents an log of every top-level request to the server.


Field Summary
protected static L10N L
           
protected static java.util.logging.Logger log
           
 
Fields inherited from class com.caucho.log.AbstractRolloverLog
_path, _pathFormat
 
Method Summary
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)
           
 
Methods inherited from class com.caucho.log.AbstractRolloverLog
close, flushStream, getArchiveFormat, getArchivePath, getFormatName, getPath, getPath, getPathFormat, getPwd, getRolloverCheckPeriod, getRolloverPeriod, getRolloverSize, getTempStreamMax, isClosed, rollover, setArchiveFormat, setLastTime, setPath, setPathFormat, setRolloverCheckPeriod, setRolloverCount, setRolloverCron, setRolloverPeriod, setRolloverSize, setRolloverSizeBytes, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

L

protected static final L10N L

log

protected static final java.util.logging.Logger log
Method Detail

init

public void init()
          throws java.io.IOException
Description copied from class: AbstractRolloverLog
Initialize the log.

Overrides:
init in class AbstractRolloverLog
Throws:
java.io.IOException

flush

protected void flush()
Description copied from class: AbstractRolloverLog
Writes to the underlying log.

Overrides:
flush in class AbstractRolloverLog

waitForFlush

protected void waitForFlush(long timeout)

createTempStream

protected TempStreamApi createTempStream()
Overrides:
createTempStream in class AbstractRolloverLog

destroy

public void destroy()
             throws java.io.IOException
Closes the log, flushing the results.

Throws:
java.io.IOException