[java-identity-provider] branch maint-4 updated: IDP-1945 - Excessive spring and hibernate logging

Scott Cantor cantor.2 at osu.edu
Tue Aug 23 15:02:08 UTC 2022


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

scantor pushed a commit to branch maint-4
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=fb2086985fc6561453c6fd5502aed635327322c9

The following commit(s) were added to refs/heads/maint-4 by this push:
     new fb2086985 IDP-1945 - Excessive spring and hibernate logging
fb2086985 is described below

commit fb2086985fc6561453c6fd5502aed635327322c9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Aug 23 11:01:27 2022 -0400

    IDP-1945 - Excessive spring and hibernate logging
    
    https://shibboleth.atlassian.net/browse/IDP-1945
    
    Move fallback logback.xml to root of classpath.
    Adjust logging service fallback path.
---
 .../src/main/java/net/shibboleth/idp/log/LogbackLoggingService.java     | 2 +-
 .../src/main/resources/{net/shibboleth/idp/conf => }/logback.xml        | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-admin-api/src/main/java/net/shibboleth/idp/log/LogbackLoggingService.java b/idp-admin-api/src/main/java/net/shibboleth/idp/log/LogbackLoggingService.java
index 99f909f23..dbda37fae 100644
--- a/idp-admin-api/src/main/java/net/shibboleth/idp/log/LogbackLoggingService.java
+++ b/idp-admin-api/src/main/java/net/shibboleth/idp/log/LogbackLoggingService.java
@@ -115,7 +115,7 @@ public class LogbackLoggingService extends AbstractReloadableService<Object>
             throw new ComponentInitializationException("Logging configuration must be specified.");
         }
     
-        fallbackConfiguration = new ClassPathResource("/net/shibboleth/idp/conf/logback.xml");
+        fallbackConfiguration = new ClassPathResource("/logback.xml");
         loggerContext = (LoggerContext) LoggerFactory.getILoggerFactory();
         statusManager = loggerContext.getStatusManager();
         if (!fallbackConfiguration.exists()) {
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/logback.xml b/idp-conf-impl/src/main/resources/logback.xml
similarity index 100%
rename from idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/logback.xml
rename to idp-conf-impl/src/main/resources/logback.xml

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


More information about the commits mailing list