@ManagedObject(value="NCSA standard format request log to slf4j bridge") public class Slf4jRequestLog extends AbstractNCSARequestLog
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerLOGFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| Constructor and Description |
|---|
Slf4jRequestLog() |
| Modifier and Type | Method and 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.
|
doStop, getAuthentication, getIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, isExtended, isLogDispatch, log, logExtended, setExtended, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddressaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stoppublic 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.