java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.server.Slf4jRequestLogWriter
- All Implemented Interfaces:
RequestLog.Writer,org.eclipse.jetty.util.component.LifeCycle
@ManagedObject("Slf4j RequestLog Writer")
public class Slf4jRequestLogWriter
extends org.eclipse.jetty.util.component.AbstractLifeCycle
implements RequestLog.Writer
Request log writer using a Slf4jLog Logger
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.Listener -
Field Summary
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, STARTED, STARTING, STOPPED, STOPPING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoStart()protected booleanvoidsetLoggerName(String loggerName) voidMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addEventListener, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString
-
Constructor Details
-
Slf4jRequestLogWriter
public Slf4jRequestLogWriter()
-
-
Method Details
-
setLoggerName
-
getLoggerName
-
isEnabled
protected boolean isEnabled() -
write
- Specified by:
writein interfaceRequestLog.Writer- Throws:
IOException
-
doStart
-