[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources: conf/logback.xml system/conf/mvc-beans.xml

noreply at shibboleth.net noreply at shibboleth.net
Fri Jun 20 10:45:13 EDT 2014


Author: scantor
Date: Fri Jun 20 10:45:13 2014
New Revision: 6127

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6127&view=rev
Log:
Send all exceptions to default view, and suppress logging back buton.

Modified:
    trunk/idp-conf/src/main/resources/conf/logback.xml
    trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml

Modified: trunk/idp-conf/src/main/resources/conf/logback.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/conf/logback.xml?rev=6127&r1=6126&r2=6127&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/conf/logback.xml (original)
+++ trunk/idp-conf/src/main/resources/conf/logback.xml Fri Jun 20 10:45:13 2014
@@ -50,6 +50,9 @@
     
     <logger name="PROTOCOL_MESSAGE" level="DEBUG" />
 
+    <!-- Exception logging to suppress. -->
+    <logger name="org.springframework.webflow.execution.repository.FlowExecutionRestorationFailureException" level="OFF" />
+
     <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
         <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
             <charset>UTF-8</charset>

Modified: trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml?rev=6127&r1=6126&r2=6127&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml Fri Jun 20 10:45:13 2014
@@ -35,14 +35,15 @@
     <bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter" />
     
     <bean class="net.shibboleth.ext.spring.error.ExtendedMappingExceptionResolver">
+        <!-- We can map specific exceptions to views here if needed. -->
+        <!--
         <property name="exceptionMappings">
             <props>
                 <prop key="FlowExecutionRestorationFailureException">error</prop>
             </props>
         </property>
-        <!--
+        -->
         <property name="defaultErrorView" value="error"/>
-        -->
     </bean>
     
     <!-- ViewResolvers -->



More information about the commits mailing list