Package org.eclipse.jetty.server
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.useCustomRequestLog
given format stringCustomRequestLog.EXTENDED_NCSA_FORMAT
with anSlf4jRequestLogWriter
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 org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.Listener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.RequestLog
RequestLog.Collection, RequestLog.Writer
-
-
Constructor Summary
Constructors Constructor Description Slf4jRequestLog()
Deprecated.Slf4jRequestLog(Slf4jRequestLogWriter writer)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getLoggerName()
Deprecated.void
setLoggerName(java.lang.String loggerName)
Deprecated.void
write(java.lang.String requestEntry)
Deprecated.Write requestEntry out.-
Methods inherited from class org.eclipse.jetty.server.AbstractNCSARequestLog
getIgnorePaths, getLogCookies, getLogDateFormat, getLogLatency, getLogLocale, getLogServer, getLogTimeZone, getPreferProxiedForAddress, isExtended, isLogDispatch, log, setExtended, setIgnorePaths, setLogCookies, setLogDateFormat, setLogDispatch, setLogLatency, setLogLocale, setLogServer, setLogTimeZone, setPreferProxiedForAddress
-
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, unmanage, updateBean, updateBean, updateBeans
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
-
-
-
Constructor Detail
-
Slf4jRequestLog
public Slf4jRequestLog()
Deprecated.
-
Slf4jRequestLog
public Slf4jRequestLog(Slf4jRequestLogWriter writer)
Deprecated.
-
-
Method Detail
-
setLoggerName
public void setLoggerName(java.lang.String loggerName)
Deprecated.
-
getLoggerName
public java.lang.String getLoggerName()
Deprecated.
-
write
public void write(java.lang.String requestEntry) throws java.io.IOException
Deprecated.Description copied from class:AbstractNCSARequestLog
Write requestEntry out. (to disk or slf4j log)- Overrides:
write
in classAbstractNCSARequestLog
- Parameters:
requestEntry
- the request entry- Throws:
java.io.IOException
- if unable to write the entry
-
-