public class AsyncNCSARequestLog extends NCSARequestLog
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
Constructor and Description |
---|
AsyncNCSARequestLog() |
AsyncNCSARequestLog(BlockingQueue<String> queue) |
AsyncNCSARequestLog(String filename) |
AsyncNCSARequestLog(String filename,
BlockingQueue<String> queue) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart()
Set up request logging and open log file.
|
protected void |
doStop()
Close the log file and perform cleanup.
|
protected void |
write(String log) |
getDatedFilename, getFilename, getFilenameDateFormat, getIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, getRetainDays, isAppend, isExtended, isLogDispatch, log, logExtended, setAppend, setExtended, setFilename, setFilenameDateFormat, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddress, setRetainDays
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public AsyncNCSARequestLog()
public AsyncNCSARequestLog(BlockingQueue<String> queue)
public AsyncNCSARequestLog(String filename)
public AsyncNCSARequestLog(String filename, BlockingQueue<String> queue)
protected void doStart() throws Exception
NCSARequestLog
doStart
in class NCSARequestLog
Exception
AbstractLifeCycle.doStart()
protected void doStop() throws Exception
NCSARequestLog
doStop
in class NCSARequestLog
Exception
AbstractLifeCycle.doStop()
protected void write(String log) throws IOException
write
in class NCSARequestLog
IOException
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.