From b2476240ce301e2e6efd5c18d9527259904ba252 Mon Sep 17 00:00:00 2001 From: Ceki Gulcu Date: Sun, 2 Oct 2022 23:51:33 +0200 Subject: [PATCH] fix LOGBACK-LOGBACK-1690 Signed-off-by: Ceki Gulcu --- .../main/java/ch/qos/logback/classic/util/ClassicEnvUtil.java | 1 - .../java/ch/qos/logback/classic/util/ContextInitializer.java | 1 - 2 files changed, 2 deletions(-) diff --git a/logback-classic/src/main/java/ch/qos/logback/classic/util/ClassicEnvUtil.java b/logback-classic/src/main/java/ch/qos/logback/classic/util/ClassicEnvUtil.java index 326261a421..8869cd6202 100644 --- a/logback-classic/src/main/java/ch/qos/logback/classic/util/ClassicEnvUtil.java +++ b/logback-classic/src/main/java/ch/qos/logback/classic/util/ClassicEnvUtil.java @@ -49,7 +49,6 @@ public static List loadFromServiceLoader(Class c, ClassLoader classLoa Iterator it = loader.iterator(); while(it.hasNext()) { T t = it.next(); - System.out.println("loaded "+t); listOfT.add(t); } return listOfT; diff --git a/logback-classic/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java b/logback-classic/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java index 981722174f..7d06a2d60f 100644 --- a/logback-classic/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java +++ b/logback-classic/src/main/java/ch/qos/logback/classic/util/ContextInitializer.java @@ -92,7 +92,6 @@ public void autoConfig(ClassLoader classLoader) throws JoranException { fallbackOnToBasicConfigurator(); return; } - configuratorList.forEach(c -> System.out.println("Found "+c.toString())); for (Configurator c : configuratorList) { try { c.setContext(loggerContext);