Class SleuthLoggingAutoConfiguration
- java.lang.Object
-
- io.mosip.kernel.core.logger.config.SleuthLoggingAutoConfiguration
-
- All Implemented Interfaces:
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.server.ConfigurableWebServerFactory>
@ConditionalOnProperty(value="spring.sleuth.enabled", matchIfMissing=true) @Configuration @ComponentScan(basePackages="org.springframework.cloud.sleuth.autoconfig.*") public class SleuthLoggingAutoConfiguration extends Object implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.server.ConfigurableWebServerFactory>
-
-
Constructor Summary
Constructors Constructor Description SleuthLoggingAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcustomize(org.springframework.boot.web.server.ConfigurableWebServerFactory factory)ch.qos.logback.classic.helpers.MDCInsertingServletFiltermdcInsertingServletFilter()SleuthValvesleuthValve(brave.Tracer tracer)
-
-
-
Method Detail
-
mdcInsertingServletFilter
@Bean public ch.qos.logback.classic.helpers.MDCInsertingServletFilter mdcInsertingServletFilter()
-
sleuthValve
@Bean public SleuthValve sleuthValve(brave.Tracer tracer)
-
customize
public void customize(org.springframework.boot.web.server.ConfigurableWebServerFactory factory)
- Specified by:
customizein interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.server.ConfigurableWebServerFactory>
-
-