[spring-extensions] branch master updated: JSE-31 Turn off INFO level warnings for conditional non-existing files.
Scott Cantor
cantor.2 at osu.edu
Fri Jan 4 13:52:42 EST 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository spring-extensions.
View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=85ccf22deecf9718b096973778898347df2319a2
The following commit(s) were added to refs/heads/master by this push:
new 85ccf22 JSE-31 Turn off INFO level warnings for conditional non-existing files.
85ccf22 is described below
commit 85ccf22deecf9718b096973778898347df2319a2
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 d91c3a1..9a4b7e6 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