RequestLog
public class AsyncNCSARequestLog extends NCSARequestLog
Constructor | Description |
---|---|
AsyncNCSARequestLog() |
|
AsyncNCSARequestLog(java.lang.String filename) |
|
AsyncNCSARequestLog(java.lang.String filename,
java.util.concurrent.BlockingQueue<java.lang.String> queue) |
|
AsyncNCSARequestLog(java.util.concurrent.BlockingQueue<java.lang.String> queue) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
doStart() |
Set up request logging and open log file.
|
protected void |
doStop() |
Close the log file and perform cleanup.
|
void |
write(java.lang.String log) |
Write requestEntry out.
|
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
getIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, isExtended, isLogDispatch, log, logExtended, logExtended, setExtended, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddress
getDatedFilename, getFilename, getFilenameDateFormat, getRetainDays, isAppend, isEnabled, setAppend, setFilename, setFilenameDateFormat, setRetainDays
public AsyncNCSARequestLog()
public AsyncNCSARequestLog(java.util.concurrent.BlockingQueue<java.lang.String> queue)
public AsyncNCSARequestLog(java.lang.String filename)
public AsyncNCSARequestLog(java.lang.String filename, java.util.concurrent.BlockingQueue<java.lang.String> queue)
protected void doStart() throws java.lang.Exception
NCSARequestLog
doStart
in class NCSARequestLog
java.lang.Exception
AbstractLifeCycle.doStart()
protected void doStop() throws java.lang.Exception
NCSARequestLog
doStop
in class NCSARequestLog
java.lang.Exception
AbstractLifeCycle.doStop()
public void write(java.lang.String log) throws java.io.IOException
AbstractNCSARequestLog
write
in class NCSARequestLog
log
- the request entryjava.io.IOException
- if unable to write the entryCopyright © 1995–2018 Webtide. All rights reserved.