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