CustomRequestLog
given format string CustomRequestLog.EXTENDED_NCSA_FORMAT
with an Slf4jRequestLogWriter
@Deprecated @ManagedObject(value="NCSA standard format request log to slf4j bridge") public class Slf4jRequestLog extends AbstractNCSARequestLog
AbstractLifeCycle.AbstractLifeCycleListener
RequestLog.Collection, RequestLog.Writer
Container.InheritedListener, Container.Listener
LifeCycle.Listener
LOG
Constructor and Description |
---|
Slf4jRequestLog()
Deprecated.
|
Slf4jRequestLog(Slf4jRequestLogWriter writer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLoggerName()
Deprecated.
|
protected boolean |
isEnabled()
Deprecated.
Is logging enabled
|
void |
setLoggerName(java.lang.String loggerName)
Deprecated.
|
void |
write(java.lang.String requestEntry)
Deprecated.
Write requestEntry out.
|
doStart, doStop, getAuthentication, getIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, isExtended, isLogDispatch, log, logExtended, setExtended, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddress
addBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dumpObjects, dumpSelf
public Slf4jRequestLog()
public Slf4jRequestLog(Slf4jRequestLogWriter writer)
public void setLoggerName(java.lang.String loggerName)
public java.lang.String getLoggerName()
protected boolean isEnabled()
AbstractNCSARequestLog
isEnabled
in class AbstractNCSARequestLog
public void write(java.lang.String requestEntry) throws java.io.IOException
AbstractNCSARequestLog
write
in class AbstractNCSARequestLog
requestEntry
- the request entryjava.io.IOException
- if unable to write the entryCopyright © 1995–2023 Webtide. All rights reserved.