public class LogbackAccessJettyRequestLog
extends org.eclipse.jetty.util.component.AbstractLifeCycle
implements org.eclipse.jetty.server.RequestLog
RequestLogImpl
and NCSARequestLog
.
Because emits an own customized access event (JettyLogbackAccessEvent
).RequestLogImpl
,
NCSARequestLog
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
Constructor and Description |
---|
LogbackAccessJettyRequestLog(LogbackAccessProperties logbackAccessProperties,
org.springframework.core.env.Environment environment,
org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
void |
log(org.eclipse.jetty.server.Request request,
org.eclipse.jetty.server.Response response) |
addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
public LogbackAccessJettyRequestLog(LogbackAccessProperties logbackAccessProperties, org.springframework.core.env.Environment environment, org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
logbackAccessProperties
- the configuration properties for Logback-access.environment
- the environment.applicationEventPublisher
- the application event publisher.protected void doStart() throws Exception
doStart
in class org.eclipse.jetty.util.component.AbstractLifeCycle
Exception
public void log(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response)
log
in interface org.eclipse.jetty.server.RequestLog
Copyright © 2021 akkinoc.dev. All rights reserved.