mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-07 17:59:02 +00:00
Make UndertowAccessLogCustomizer conditional on class
Closes gh-15065
This commit is contained in:
+1
@@ -70,6 +70,7 @@ class ServletManagementChildContextConfiguration {
|
||||
}
|
||||
|
||||
@Bean
|
||||
@ConditionalOnClass(name = "io.undertow.Undertow")
|
||||
public UndertowAccessLogCustomizer undertowAccessLogCustomizer() {
|
||||
return new UndertowAccessLogCustomizer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user