[spring-extensions] branch maint-5 updated: JSE-31 Turn off INFO level warnings for conditional non-existing files.
Scott Cantor
cantor.2 at osu.edu
Fri Jan 4 13:53:50 EST 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-5
in repository spring-extensions.
View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=358194c3257cc9c15d54e66d615c222821a39989
The following commit(s) were added to refs/heads/maint-5 by this push:
new 358194c JSE-31 Turn off INFO level warnings for conditional non-existing files.
358194c is described below
commit 358194c3257cc9c15d54e66d615c222821a39989
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Jan 4 13:52:39 2019 -0500
JSE-31 Turn off INFO level warnings for conditional non-existing files.
https://issues.shibboleth.net/jira/browse/JSE-31
Lower full exception logging to trace.
---
.../net/shibboleth/ext/spring/resource/ConditionalResource.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/java/net/shibboleth/ext/spring/resource/ConditionalResource.java b/src/main/java/net/shibboleth/ext/spring/resource/ConditionalResource.java
index 24c24df..4fa2cb2 100644
--- a/src/main/java/net/shibboleth/ext/spring/resource/ConditionalResource.java
+++ b/src/main/java/net/shibboleth/ext/spring/resource/ConditionalResource.java
@@ -81,8 +81,10 @@ public class ConditionalResource extends AbstractIdentifiedInitializableComponen
try {
return wrappedResource.getInputStream();
} catch (final IOException e) {
- if (log.isDebugEnabled()) {
- log.debug("{} getInputStream failed on wrapped resource", getLogPrefix(), e);
+ if (log.isTraceEnabled()) {
+ log.trace("{} getInputStream failed on wrapped resource", getLogPrefix(), e);
+ } else {
+ log.debug("{} getInputStream failed on wrapped resource", getLogPrefix());
}
return new ByteArrayInputStream(EMPTY_RESOURCE.getBytes(StandardCharsets.UTF_8));
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list