Removed property setting of proxy targetClass
This commit is contained in:
@@ -53,10 +53,6 @@ public class TraceEnvironmentPostProcessor implements EnvironmentPostProcessor {
|
||||
// traces in logs without having to configure it.
|
||||
map.put("logging.pattern.level",
|
||||
"%5p [${spring.zipkin.service.name:${spring.application.name:-}},%X{X-B3-TraceId:-},%X{X-B3-SpanId:-},%X{X-Span-Export:-}]");
|
||||
// TODO: Remove this in 2.0.x. For compatibility we always set to true
|
||||
if (!environment.containsProperty(SPRING_AOP_PROXY_TARGET_CLASS)) {
|
||||
map.put(SPRING_AOP_PROXY_TARGET_CLASS, "true");
|
||||
}
|
||||
addOrReplace(environment.getPropertySources(), map);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user