@Configuration @EnableConfigurationProperties(value=HawaiiLoggingConfigurationProperties.class) public class HawaiiLoggingConfiguration extends java.lang.Object
Constructor and Description |
---|
HawaiiLoggingConfiguration() |
Modifier and Type | Method and Description |
---|---|
HttpRequestResponseLogUtil |
httpRequestResponseLogUtil()
Create a
HttpRequestResponseLogUtil bean. |
org.springframework.boot.web.servlet.FilterRegistrationBean |
kibanaLogCleanupFilter()
Create and register the
KibanaLogCleanupFilter bean. |
org.springframework.boot.web.servlet.FilterRegistrationBean |
kibanaLogFilter()
Create and register the
KibanaLogFilter bean. |
org.springframework.boot.web.servlet.FilterRegistrationBean |
requestDurationFilter()
Create and register the
RequestDurationFilter bean. |
org.springframework.boot.web.servlet.FilterRegistrationBean |
requestIdFilter()
Create and register the
RequestIdFilter bean. |
org.springframework.boot.web.servlet.FilterRegistrationBean |
requestResponseLogFilter()
Create and register the
RequestResponseLogFilter bean. |
org.springframework.boot.web.servlet.FilterRegistrationBean |
transactionIdFilter()
Create and register the
TransactionIdFilter bean. |
org.springframework.boot.web.servlet.FilterRegistrationBean |
userDetailsFilter()
Create and register the
UserDetailsFilter bean. |
@Bean @ConditionalOnProperty(prefix="hawaii.logging.filters.kibana-log", name="enabled") public org.springframework.boot.web.servlet.FilterRegistrationBean kibanaLogFilter()
KibanaLogFilter
bean.KibanaLogFilter
bean, wrapped in a FilterRegistrationBean
@Bean @ConditionalOnProperty(prefix="hawaii.logging.filters.kibana-log-cleanup", name="enabled") public org.springframework.boot.web.servlet.FilterRegistrationBean kibanaLogCleanupFilter()
KibanaLogCleanupFilter
bean.KibanaLogCleanupFilter
bean, wrapped in a FilterRegistrationBean
@Bean @ConditionalOnProperty(prefix="hawaii.logging.filters.request-duration", name="enabled") public org.springframework.boot.web.servlet.FilterRegistrationBean requestDurationFilter()
RequestDurationFilter
bean.RequestDurationFilter
bean, wrapped in a FilterRegistrationBean
@Bean @ConditionalOnProperty(prefix="hawaii.logging.filters.request-id", name="enabled") public org.springframework.boot.web.servlet.FilterRegistrationBean requestIdFilter()
RequestIdFilter
bean.RequestIdFilter
bean, wrapped in a FilterRegistrationBean
@Bean @ConditionalOnProperty(prefix="hawaii.logging.filters.request-response", name="enabled") public org.springframework.boot.web.servlet.FilterRegistrationBean requestResponseLogFilter()
RequestResponseLogFilter
bean.RequestResponseLogFilter
bean, wrapped in a FilterRegistrationBean
@Bean @ConditionalOnProperty(prefix="hawaii.logging.filters.transaction-id", name="enabled") public org.springframework.boot.web.servlet.FilterRegistrationBean transactionIdFilter()
TransactionIdFilter
bean.TransactionIdFilter
bean, wrapped in a FilterRegistrationBean
@Bean @ConditionalOnProperty(prefix="hawaii.logging.filters.user-details", name="enabled") public org.springframework.boot.web.servlet.FilterRegistrationBean userDetailsFilter()
UserDetailsFilter
bean.UserDetailsFilter
bean, wrapped in a FilterRegistrationBean
@Bean @ConditionalOnProperty(prefix="hawaii.logging.filters.request-response", name="enabled") public HttpRequestResponseLogUtil httpRequestResponseLogUtil()
HttpRequestResponseLogUtil
bean.
This is reuired for the RequestResponseLogFilter
, see requestResponseLogFilter()
.