From 23a14862dcd44d596677524210635464f597c677 Mon Sep 17 00:00:00 2001 From: Andrew67 Date: Tue, 29 Sep 2015 13:09:03 -0400 Subject: [PATCH] Use System.err instead of System.out for warning message in SLF4JLogFactory.release() --- .../org/apache/commons/logging/impl/SLF4JLogFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLogFactory.java b/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLogFactory.java index d715c59f..168a1e4e 100644 --- a/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLogFactory.java +++ b/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/SLF4JLogFactory.java @@ -179,9 +179,9 @@ public class SLF4JLogFactory extends LogFactory { // possible // for the parent class loader to mask the classes shipping in // jcl-over-slf4j.jar. - System.out.println("WARN: The method " + SLF4JLogFactory.class + "#release() was invoked."); - System.out.println("WARN: Please see http://www.slf4j.org/codes.html#release for an explanation."); - System.out.flush(); + System.err.println("WARN: The method " + SLF4JLogFactory.class + "#release() was invoked."); + System.err.println("WARN: Please see http://www.slf4j.org/codes.html#release for an explanation."); + System.err.flush(); } /**