From e9cfe6d2ab8e29a3f04c6e1688370ae78ade8a7d Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Tue, 7 Jun 2016 15:20:12 +0200 Subject: [PATCH] Lowered logging level for RxJava hook - in debug mode it's present every second --- .../sleuth/instrument/rxjava/SleuthRxJavaSchedulersHook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/rxjava/SleuthRxJavaSchedulersHook.java b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/rxjava/SleuthRxJavaSchedulersHook.java index a5314bf9f..bf8061a33 100644 --- a/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/rxjava/SleuthRxJavaSchedulersHook.java +++ b/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/rxjava/SleuthRxJavaSchedulersHook.java @@ -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();