public class LogbackClassicRequestLogFactory extends Object implements RequestLogFactory
RequestLog instances using logback-classic.
Configuration Parameters:
| Name | Default | Description |
timeZone |
UTC | The time zone to which request timestamps will be converted. |
appenders |
a default console appender |
The set of appenders to which requests will be logged.
|
| Constructor and Description |
|---|
LogbackClassicRequestLogFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jetty.server.RequestLog |
build(String name) |
com.google.common.collect.ImmutableList<io.dropwizard.logging.AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>> |
getAppenders() |
TimeZone |
getTimeZone() |
boolean |
isEnabled() |
void |
setAppenders(com.google.common.collect.ImmutableList<io.dropwizard.logging.AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>> appenders) |
void |
setTimeZone(TimeZone timeZone) |
public com.google.common.collect.ImmutableList<io.dropwizard.logging.AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>> getAppenders()
public void setAppenders(com.google.common.collect.ImmutableList<io.dropwizard.logging.AppenderFactory<ch.qos.logback.classic.spi.ILoggingEvent>> appenders)
public TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
public boolean isEnabled()
isEnabled in interface RequestLogFactorypublic org.eclipse.jetty.server.RequestLog build(String name)
build in interface RequestLogFactoryCopyright © 2018. All rights reserved.