Commit f5ba9952 authored by Stephane Nicoll's avatar Stephane Nicoll

Make UndertowAccessLogCustomizer conditional on class

Closes gh-15065
parent d818e1a9
...@@ -70,6 +70,7 @@ class ServletManagementChildContextConfiguration { ...@@ -70,6 +70,7 @@ class ServletManagementChildContextConfiguration {
} }
@Bean @Bean
@ConditionalOnClass(name = "io.undertow.Undertow")
public UndertowAccessLogCustomizer undertowAccessLogCustomizer() { public UndertowAccessLogCustomizer undertowAccessLogCustomizer() {
return new UndertowAccessLogCustomizer(); return new UndertowAccessLogCustomizer();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment