@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.
|
String |
getLoggerName() |
protected boolean |
isEnabled()
Is logging enabled
|
void |
setLoggerName(String loggerName) |
void |
write(String requestEntry)
Write requestEntry out.
|
doStop, getIgnorePaths, 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 void setLoggerName(String loggerName)
public String getLoggerName()
protected boolean isEnabled()
AbstractNCSARequestLogisEnabled in class AbstractNCSARequestLogpublic void write(String requestEntry) throws IOException
AbstractNCSARequestLogwrite in class AbstractNCSARequestLogrequestEntry - the request entryIOException - if unable to write the entryprotected void doStart()
throws Exception
AbstractNCSARequestLogdoStart in class AbstractNCSARequestLogExceptionAbstractLifeCycle.doStart()Copyright © 1995–2017 Webtide. All rights reserved.