public class AsyncNCSARequestLog extends NCSARequestLog
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
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.
|
void |
write(String log)
Write requestEntry out.
|
getDatedFilename, getFilename, getFilenameDateFormat, getRetainDays, isAppend, isEnabled, setAppend, setFilename, setFilenameDateFormat, setRetainDays
getIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, isExtended, isLogDispatch, log, logExtended, setExtended, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddress
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
log
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()
public void write(String log) throws IOException
AbstractNCSARequestLog
write
in class NCSARequestLog
IOException
Copyright © 1995-2015 Webtide. All Rights Reserved.