[spring-extensions] branch maint-6 updated: JSE-53 - Console loggers for CLI tools should log to stderr

Scott Cantor cantor.2 at osu.edu
Thu Mar 14 18:52:58 UTC 2024


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch maint-6
in repository spring-extensions.

View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=6742142b6002d971db984e259e9b0fd7102fcfc2

The following commit(s) were added to refs/heads/maint-6 by this push:
     new 6742142  JSE-53 - Console loggers for CLI tools should log to stderr
6742142 is described below

commit 6742142b6002d971db984e259e9b0fd7102fcfc2
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Aug 1 08:44:11 2023 -0400

    JSE-53 - Console loggers for CLI tools should log to stderr
    
    https://shibboleth.atlassian.net/browse/JSE-53
---
 src/main/resources/net/shibboleth/ext/spring/cli/logger-normal.xml  | 1 +
 src/main/resources/net/shibboleth/ext/spring/cli/logger-quiet.xml   | 1 +
 src/main/resources/net/shibboleth/ext/spring/cli/logger-verbose.xml | 1 +
 3 files changed, 3 insertions(+)

diff --git a/src/main/resources/net/shibboleth/ext/spring/cli/logger-normal.xml b/src/main/resources/net/shibboleth/ext/spring/cli/logger-normal.xml
index 3094a61..44d2ee7 100644
--- a/src/main/resources/net/shibboleth/ext/spring/cli/logger-normal.xml
+++ b/src/main/resources/net/shibboleth/ext/spring/cli/logger-normal.xml
@@ -2,6 +2,7 @@
 <configuration>
 
     <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+        <target>System.err</target>
         <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
             <charset>UTF-8</charset>
             <Pattern>%-5level - %msg%n%ex{short}</Pattern>
diff --git a/src/main/resources/net/shibboleth/ext/spring/cli/logger-quiet.xml b/src/main/resources/net/shibboleth/ext/spring/cli/logger-quiet.xml
index f193630..9f9e2d4 100644
--- a/src/main/resources/net/shibboleth/ext/spring/cli/logger-quiet.xml
+++ b/src/main/resources/net/shibboleth/ext/spring/cli/logger-quiet.xml
@@ -2,6 +2,7 @@
 <configuration>
     
     <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+        <target>System.err</target>
         <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
             <charset>UTF-8</charset>
             <Pattern>%-5level - %msg%n%ex{short}</Pattern>
diff --git a/src/main/resources/net/shibboleth/ext/spring/cli/logger-verbose.xml b/src/main/resources/net/shibboleth/ext/spring/cli/logger-verbose.xml
index 14ef666..3cd1aa6 100644
--- a/src/main/resources/net/shibboleth/ext/spring/cli/logger-verbose.xml
+++ b/src/main/resources/net/shibboleth/ext/spring/cli/logger-verbose.xml
@@ -2,6 +2,7 @@
 <configuration>
 
     <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+        <target>System.err</target>
         <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
             <charset>UTF-8</charset>
             <Pattern>%date{ISO8601} - %level [%logger:%line] - %msg%n%ex{full}</Pattern>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list