RequestLog, LifeCycle@ManagedObject("NCSA standard format request log to slf4j bridge") public class Slf4jRequestLog extends AbstractNCSARequestLog
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPINGLOG| Constructor | Description |
|---|---|
Slf4jRequestLog() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doStart() |
Set up request logging and open log file.
|
java.lang.String |
getLoggerName() |
|
protected boolean |
isEnabled() |
Is logging enabled
|
void |
setLoggerName(java.lang.String loggerName) |
|
void |
write(java.lang.String requestEntry) |
Write requestEntry out.
|
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stopdoStop, getAuthentication, getIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, isExtended, isLogDispatch, log, logExtended, setExtended, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddresspublic void setLoggerName(java.lang.String loggerName)
public java.lang.String getLoggerName()
protected boolean isEnabled()
AbstractNCSARequestLogisEnabled in class AbstractNCSARequestLogpublic void write(java.lang.String requestEntry)
throws java.io.IOException
AbstractNCSARequestLogwrite in class AbstractNCSARequestLogrequestEntry - the request entryjava.io.IOException - if unable to write the entryprotected void doStart()
throws java.lang.Exception
AbstractNCSARequestLogdoStart in class AbstractNCSARequestLogjava.lang.ExceptionAbstractLifeCycle.doStart()Copyright © 1995–2018 Webtide. All rights reserved.