Class Slf4jRequestLog
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.server.AbstractNCSARequestLog
org.eclipse.jetty.server.Slf4jRequestLog
- All Implemented Interfaces:
RequestLog, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
@Deprecated
@ManagedObject("NCSA standard format request log to slf4j bridge")
public class Slf4jRequestLog
extends AbstractNCSARequestLog
Deprecated.
Implementation of NCSARequestLog where output is sent as a SLF4J INFO Log message on the named logger "org.eclipse.jetty.server.RequestLog"
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.ListenerNested classes/interfaces inherited from interface RequestLog
RequestLog.Collection, RequestLog.Writer -
Field Summary
FieldsFields inherited from class AbstractNCSARequestLog
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.protected booleanDeprecated.Is logging enabledvoidsetLoggerName(String loggerName) Deprecated.voidDeprecated.Write requestEntry out.Methods inherited from class AbstractNCSARequestLog
doStart, doStop, getAuthentication, getIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, isExtended, isLogDispatch, log, logExtended, setExtended, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddressMethods inherited from class ContainerLifeCycle
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, updateBeansMethods inherited from class AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Dumpable.DumpableContainer
isDumpable
-
Field Details
-
_requestLogWriter
Deprecated.
-
-
Constructor Details
-
Slf4jRequestLog
public Slf4jRequestLog()Deprecated. -
Slf4jRequestLog
Deprecated.
-
-
Method Details
-
setLoggerName
Deprecated. -
getLoggerName
Deprecated. -
isEnabled
protected boolean isEnabled()Deprecated.Description copied from class:AbstractNCSARequestLogIs logging enabled- Overrides:
isEnabledin classAbstractNCSARequestLog- Returns:
- true if logging is enabled
-
write
Deprecated.Description copied from class:AbstractNCSARequestLogWrite requestEntry out. (to disk or slf4j log)- Overrides:
writein classAbstractNCSARequestLog- Parameters:
requestEntry- the request entry- Throws:
IOException- if unable to write the entry
-
CustomRequestLoggiven format stringCustomRequestLog.EXTENDED_NCSA_FORMATwith anSlf4jRequestLogWriter