-
- All Implemented Interfaces:
@ConfigurationProperties(value = "logback.access")@ConstructorBinding() public final class LogbackAccessPropertiesThe configuration properties for Logback-access.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLogbackAccessProperties.Companionpublic final classLogbackAccessProperties.TomcatThe properties for the Tomcat web server.
public final classLogbackAccessProperties.UndertowThe properties for the Undertow web server.
public final classLogbackAccessProperties.TeeFilterThe properties for the tee filter.
-
Field Summary
Fields Modifier and Type Field Description private final Booleanenabledprivate final Stringconfigprivate final LogbackAccessLocalPortStrategylocalPortStrategyprivate final LogbackAccessProperties.Tomcattomcatprivate final LogbackAccessProperties.Undertowundertowprivate final LogbackAccessProperties.TeeFilterteeFilter
-
Constructor Summary
Constructors Constructor Description LogbackAccessProperties(Boolean enabled, String config, LogbackAccessLocalPortStrategy localPortStrategy, LogbackAccessProperties.Tomcat tomcat, LogbackAccessProperties.Undertow undertow, LogbackAccessProperties.TeeFilter teeFilter)LogbackAccessProperties(Boolean enabled, String config, LogbackAccessLocalPortStrategy localPortStrategy, LogbackAccessProperties.Tomcat tomcat, LogbackAccessProperties.Undertow undertow)LogbackAccessProperties(Boolean enabled, String config, LogbackAccessLocalPortStrategy localPortStrategy, LogbackAccessProperties.Tomcat tomcat)LogbackAccessProperties(Boolean enabled, String config, LogbackAccessLocalPortStrategy localPortStrategy)LogbackAccessProperties(Boolean enabled, String config)LogbackAccessProperties(Boolean enabled)LogbackAccessProperties()
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()Whether to enable auto-configuration. final StringgetConfig()The location of the configuration file. final LogbackAccessLocalPortStrategygetLocalPortStrategy()The strategy to change the behavior of IAccessEvent.getLocalPort. final LogbackAccessProperties.TomcatgetTomcat()The properties for the Tomcat web server. final LogbackAccessProperties.UndertowgetUndertow()The properties for the Undertow web server. final LogbackAccessProperties.TeeFiltergetTeeFilter()The properties for the tee filter. -
-
Constructor Detail
-
LogbackAccessProperties
LogbackAccessProperties(Boolean enabled, String config, LogbackAccessLocalPortStrategy localPortStrategy, LogbackAccessProperties.Tomcat tomcat, LogbackAccessProperties.Undertow undertow, LogbackAccessProperties.TeeFilter teeFilter)
-
LogbackAccessProperties
LogbackAccessProperties(Boolean enabled, String config, LogbackAccessLocalPortStrategy localPortStrategy, LogbackAccessProperties.Tomcat tomcat, LogbackAccessProperties.Undertow undertow)
-
LogbackAccessProperties
LogbackAccessProperties(Boolean enabled, String config, LogbackAccessLocalPortStrategy localPortStrategy, LogbackAccessProperties.Tomcat tomcat)
-
LogbackAccessProperties
LogbackAccessProperties(Boolean enabled, String config, LogbackAccessLocalPortStrategy localPortStrategy)
-
LogbackAccessProperties
LogbackAccessProperties(Boolean enabled)
-
LogbackAccessProperties
LogbackAccessProperties()
-
-
Method Detail
-
getEnabled
final Boolean getEnabled()
Whether to enable auto-configuration.
-
getConfig
final String getConfig()
The location of the configuration file. Specify a URL that starts with "classpath:" or "file:". Auto-detected by default: 1. "classpath:logback-access-test.xml" 2. "classpath:logback-access.xml" 3. "classpath:logback-access-test-spring.xml" 4. "classpath:logback-access-spring.xml" 5. "classpath:dev/akkinoc/spring/boot/logback/access/logback-access-spring.xml"
-
getLocalPortStrategy
final LogbackAccessLocalPortStrategy getLocalPortStrategy()
The strategy to change the behavior of IAccessEvent.getLocalPort.
-
getTomcat
final LogbackAccessProperties.Tomcat getTomcat()
The properties for the Tomcat web server.
-
getUndertow
final LogbackAccessProperties.Undertow getUndertow()
The properties for the Undertow web server.
-
getTeeFilter
final LogbackAccessProperties.TeeFilter getTeeFilter()
The properties for the tee filter.
-
-
-
-