io.dropwizard.request.logging.LogbackAccessRequestLog Maven / Gradle / Ivy
package io.dropwizard.request.logging;
import ch.qos.logback.access.jetty.RequestLogImpl;
import org.eclipse.jetty.util.component.LifeCycle;
/**
* The Dropwizard request log uses logback-access, but we override it to remove the requirement for logback-access.xml
* based configuration.
*/
public class LogbackAccessRequestLog extends RequestLogImpl implements LifeCycle {
@Override
public void configure() {
setName("LogbackAccessRequestLog");
}
}