[java-shib-shared] branch main updated: JSSH-37 - Console loggers for CLI tools should log to stderr

Scott Cantor cantor.2 at osu.edu
Tue Aug 1 12:44:15 UTC 2023


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

scantor pushed a commit to branch main
in repository java-shib-shared.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=27fdc457dc9c568cd9cda4b2c9e4e27e2ebb7e09

The following commit(s) were added to refs/heads/main by this push:
     new 27fdc457 JSSH-37 - Console loggers for CLI tools should log to stderr
27fdc457 is described below

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

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

diff --git a/shib-cli/src/main/resources/net/shibboleth/shared/cli/logger-normal.xml b/shib-cli/src/main/resources/net/shibboleth/shared/cli/logger-normal.xml
index 3094a616..44d2ee75 100644
--- a/shib-cli/src/main/resources/net/shibboleth/shared/cli/logger-normal.xml
+++ b/shib-cli/src/main/resources/net/shibboleth/shared/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/shib-cli/src/main/resources/net/shibboleth/shared/cli/logger-quiet.xml b/shib-cli/src/main/resources/net/shibboleth/shared/cli/logger-quiet.xml
index f1936308..9f9e2d4d 100644
--- a/shib-cli/src/main/resources/net/shibboleth/shared/cli/logger-quiet.xml
+++ b/shib-cli/src/main/resources/net/shibboleth/shared/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/shib-cli/src/main/resources/net/shibboleth/shared/cli/logger-verbose.xml b/shib-cli/src/main/resources/net/shibboleth/shared/cli/logger-verbose.xml
index 14ef6663..3cd1aa62 100644
--- a/shib-cli/src/main/resources/net/shibboleth/shared/cli/logger-verbose.xml
+++ b/shib-cli/src/main/resources/net/shibboleth/shared/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