Tweaking the logging levels; fixes gh-1390
This commit is contained in:
@@ -306,13 +306,10 @@ public class SpanSubscriberTests {
|
||||
final AtomicReference<Span> spanInOperation = new AtomicReference<>();
|
||||
|
||||
try (Tracer.SpanInScope ws = this.tracer.withSpanInScope(span)) {
|
||||
Flux
|
||||
.range(0, 5)
|
||||
.flatMap(it -> Mono
|
||||
.delay(Duration.ofMillis(1))
|
||||
Flux.range(0, 5)
|
||||
.flatMap(it -> Mono.delay(Duration.ofMillis(1))
|
||||
.map(context -> this.tracer.currentSpan())
|
||||
.doOnNext(spanInOperation::set)
|
||||
)
|
||||
.doOnNext(spanInOperation::set))
|
||||
.blockFirst();
|
||||
}
|
||||
finally {
|
||||
|
||||
@@ -17,6 +17,7 @@ spring.sleuth.scheduled.skipPattern: "^org.*TestBeanWithScheduledMethodToBeIgnor
|
||||
spring.sleuth.rxjava.schedulers.ignoredthreads: HystixMetricPoller,^MyCustomThread.*$,^RxComputation.*$
|
||||
|
||||
logging.level.org.springframework.cloud: DEBUG
|
||||
logging.level.com.netflix.discovery.InstanceInfoReplicator: ERROR
|
||||
logging.level.org.springframework.cloud.sleuth.instrument.web.client.feign: TRACE
|
||||
|
||||
#disable hibernate by default
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
<configuration>
|
||||
<include resource="org/springframework/boot/logging/logback/base.xml"/>
|
||||
<logger name="feign" level="DEBUG"/>
|
||||
<logger name="com.netflix.discovery.InstanceInfoReplicator" level="ERROR"/>
|
||||
<logger name="org.springframework.cloud.sleuth" level="TRACE"/>
|
||||
<logger name="org.springframework.boot.autoconfigure.logging" level="INFO"/>
|
||||
<logger name="org.springframework.cloud.sleuth.log" level="DEBUG"/>
|
||||
|
||||
Reference in New Issue
Block a user