public class AsyncNCSARequestLog extends NCSARequestLog
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.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, setRetainDaysaddLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic AsyncNCSARequestLog()
public AsyncNCSARequestLog(BlockingQueue<String> queue)
public AsyncNCSARequestLog(String filename)
public AsyncNCSARequestLog(String filename, BlockingQueue<String> queue)
protected void doStart()
throws Exception
NCSARequestLogdoStart in class NCSARequestLogExceptionAbstractLifeCycle.doStart()protected void doStop()
throws Exception
NCSARequestLogdoStop in class NCSARequestLogExceptionAbstractLifeCycle.doStop()protected void write(String log) throws IOException
write in class NCSARequestLogIOExceptionCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.