See gh-44197
This commit is contained in:
Andy Wilkinson 2025-02-10 15:28:05 +00:00
parent 62b217e0da
commit f5f888dbdd
1 changed files with 0 additions and 3 deletions

View File

@ -129,14 +129,11 @@ public class ReactiveManagementChildContextConfiguration {
@Override
public void customize(TomcatReactiveWebServerFactory factory) {
System.out.println("Looking for access log valve in " + factory);
AccessLogValve accessLogValve = findAccessLogValve(factory);
if (accessLogValve == null) {
System.out.println("Did not find it");
return;
}
accessLogValve.setPrefix(customizePrefix(accessLogValve.getPrefix()));
System.out.println("Customized " + factory);
}
private AccessLogValve findAccessLogValve(TomcatReactiveWebServerFactory factory) {