public class AsyncNCSARequestLog extends NCSARequestLog
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, 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.
|
void |
write(String log)
Write requestEntry out.
|
getDatedFilename, getFilename, getFilenameDateFormat, getRetainDays, isAppend, isEnabled, setAppend, setFilename, setFilenameDateFormat, setRetainDaysgetIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, isExtended, isLogDispatch, log, logExtended, logExtended, setExtended, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddressaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, 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()public void write(String log) throws IOException
AbstractNCSARequestLogwrite in class NCSARequestLoglog - the request entryIOException - if unable to write the entryCopyright © 1995–2017 Webtide. All rights reserved.