[java-identity-provider COMMIT] in /trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile: saml1/Sig...
noreply at shibboleth.net
noreply at shibboleth.net
Thu Feb 6 20:11:19 EST 2014
Author: tzeller
Date: Thu Feb 6 20:11:18 2014
New Revision: 5335
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5335&view=rev
Log:
Change runtime exception logging from ERROR to WARN.
Modified:
trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml1/SignAssertions.java
trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml2/SignAssertions.java
Modified: trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml1/SignAssertions.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml1/SignAssertions.java?rev=5335&r1=5334&r2=5335&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml1/SignAssertions.java (original)
+++ trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml1/SignAssertions.java Thu Feb 6 20:11:18 2014
@@ -124,7 +124,7 @@
logResponse("Response after signing:", outboundMsgCtx.getMessage());
}
} catch (SecurityException | MarshallingException | SignatureException e) {
- log.error("{} Error encountered while signing assertions", getLogPrefix(), e);
+ log.warn("{} Error encountered while signing assertions", getLogPrefix(), e);
ActionSupport.buildEvent(profileRequestContext, EventIds.UNABLE_TO_SIGN);
}
}
@@ -141,7 +141,7 @@
Element dom = XMLObjectSupport.marshall(response);
log.trace(message + "\n" + SerializeSupport.prettyPrintXML(dom));
} catch (MarshallingException e) {
- log.error("Unable to marshall message for logging purposes", e);
+ log.warn("Unable to marshall message for logging purposes", e);
}
}
}
Modified: trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml2/SignAssertions.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml2/SignAssertions.java?rev=5335&r1=5334&r2=5335&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml2/SignAssertions.java (original)
+++ trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/impl/profile/saml2/SignAssertions.java Thu Feb 6 20:11:18 2014
@@ -124,7 +124,7 @@
logResponse("Response after signing:", outboundMsgCtx.getMessage());
}
} catch (SecurityException | MarshallingException | SignatureException e) {
- log.error("{} Error encountered while signing assertions", getLogPrefix(), e);
+ log.warn("{} Error encountered while signing assertions", getLogPrefix(), e);
ActionSupport.buildEvent(profileRequestContext, EventIds.UNABLE_TO_SIGN);
}
}
@@ -141,7 +141,7 @@
Element dom = XMLObjectSupport.marshall(response);
log.trace(message + "\n" + SerializeSupport.prettyPrintXML(dom));
} catch (MarshallingException e) {
- log.error("Unable to marshall message for logging purposes", e);
+ log.warn("Unable to marshall message for logging purposes", e);
}
}
}
More information about the commits
mailing list