com.caucho.server.log
Class AccessLogWriter

java.lang.Object
  extended by com.caucho.log.AbstractRolloverLog
      extended by com.caucho.server.log.AccessLogWriter
All Implemented Interfaces:
java.lang.Runnable

public class AccessLogWriter
extends AbstractRolloverLog
implements java.lang.Runnable

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
 void destroy()
          Closes the log, flushing the results.
protected  void flush()
          Writes to the underlying log.
 void run()
           
protected  void waitForFlush(long timeout)
           
 
Methods inherited from class com.caucho.log.AbstractRolloverLog
close, getArchiveFormat, getArchivePath, getFormatName, getNextRolloverCheckTime, getPath, getPath, getPathFormat, getPwd, getRolloverCheckPeriod, getRolloverPeriod, getRolloverSize, init, isRollover, rollover, rolloverLog, setArchiveFormat, setLastTime, setPath, setPathFormat, setRolloverCheckPeriod, setRolloverCount, setRolloverCron, setRolloverPeriod, setRolloverSize, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

L

protected static final L10N L

log

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

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)

destroy

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

Throws:
java.io.IOException

run

public void run()
Specified by:
run in interface java.lang.Runnable