mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Make UndertowAccessLogCustomizer conditional on class
Closes gh-15065
This commit is contained in:
parent
d818e1a961
commit
f5ba9952db
@ -70,6 +70,7 @@ class ServletManagementChildContextConfiguration {
|
||||
}
|
||||
|
||||
@Bean
|
||||
@ConditionalOnClass(name = "io.undertow.Undertow")
|
||||
public UndertowAccessLogCustomizer undertowAccessLogCustomizer() {
|
||||
return new UndertowAccessLogCustomizer();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user