RequestLogpublic 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, stopgetIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, isExtended, isLogDispatch, log, logExtended, logExtended, setExtended, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddressgetDatedFilename, getFilename, getFilenameDateFormat, getRetainDays, isAppend, isEnabled, setAppend, setFilename, setFilenameDateFormat, setRetainDayspublic 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
NCSARequestLogdoStart in class NCSARequestLogjava.lang.ExceptionAbstractLifeCycle.doStart()protected void doStop()
throws java.lang.Exception
NCSARequestLogdoStop in class NCSARequestLogjava.lang.ExceptionAbstractLifeCycle.doStop()public void write(java.lang.String log)
throws java.io.IOException
AbstractNCSARequestLogwrite in class NCSARequestLoglog - the request entryjava.io.IOException - if unable to write the entryCopyright © 1995–2018 Webtide. All rights reserved.