[java-opensaml] 03/03: Bump logging up for init-via-backup.

Scott Cantor cantor.2 at osu.edu
Thu Jul 25 17:15:26 UTC 2024


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

scantor pushed a commit to branch maint-5.1
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=1d1e0cdac6600eccb369682c5433c19ccf46edb9

commit 1d1e0cdac6600eccb369682c5433c19ccf46edb9
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jun 24 11:06:58 2024 -0400

    Bump logging up for init-via-backup.
---
 .../saml/metadata/resolver/impl/FileBackedHTTPMetadataResolver.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolver.java b/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolver.java
index a3aca1bae..5f2d1c549 100644
--- a/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolver.java
+++ b/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolver.java
@@ -271,15 +271,15 @@ public class FileBackedHTTPMetadataResolver extends HTTPMetadataResolver {
     @Override
     @Nullable protected byte[] fetchMetadata() throws ResolverException {
         if (initializing && initializeFromBackupFile && metadataBackupFile.exists()) {
-            log.debug("{} On initialization, detected existing backup file, attempting load from that: {}",
+            log.info("{} On initialization, detected existing backup file, attempting load from that: {}",
                         getLogPrefix(), metadataBackupFile.getAbsolutePath());
             try {
                 final byte[] backingData = Files.toByteArray(metadataBackupFile);
                 if (backingData == null || backingData.length == 0) {
-                    log.debug("{} Backup file byte array was null or empty, continuing with normal HTTP fetch: {}", 
+                    log.info("{} Backup file byte array was null or empty, continuing with normal HTTP fetch: {}", 
                             getLogPrefix(), metadataBackupFile.getAbsolutePath());
                 } else {
-                    log.debug("{} Successfully initialized from backup file: {}", 
+                    log.info("{} Successfully initialized from backup file: {}", 
                             getLogPrefix(), metadataBackupFile.getAbsolutePath());
                     initializedFromBackupFile = true;
                     return backingData;

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


More information about the commits mailing list