Lowered logging level for RxJava hook - in debug mode it's present every second

This commit is contained in:
Marcin Grzejszczak
2016-06-07 15:20:12 +02:00
parent 5f716611ae
commit e9cfe6d2ab

View File

@@ -102,7 +102,7 @@ class SleuthRxJavaSchedulersHook extends RxJavaSchedulersHook {
for (String threadToIgnore : this.threadsToIgnore) {
String threadName = Thread.currentThread().getName();
if (threadName.matches(threadToIgnore)) {
log.debug(String.format(
log.trace(String.format(
"Thread with name [%s] matches the regex [%s]. A span will not be created for this Thread.",
threadName, threadToIgnore));
this.actual.call();