Skip to content

Commit f5ba995

Browse files
committed
Make UndertowAccessLogCustomizer conditional on class
Closes gh-15065
1 parent d818e1a commit f5ba995

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/servlet/ServletManagementChildContextConfiguration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public ServletManagementWebServerFactoryCustomizer servletManagementWebServerFac
7070
}
7171

7272
@Bean
73+
@ConditionalOnClass(name = "io.undertow.Undertow")
7374
public UndertowAccessLogCustomizer undertowAccessLogCustomizer() {
7475
return new UndertowAccessLogCustomizer();
7576
}

0 commit comments

Comments
 (0)