Author: sletellier Date: 2011-06-21 17:22:51 +0200 (Tue, 21 Jun 2011) New Revision: 89 Url: http://chorem.org/repositories/revision/vradi/89 Log: Log ui errors Modified: trunk/vradi-web/src/main/resources/struts.xml Modified: trunk/vradi-web/src/main/resources/struts.xml =================================================================== --- trunk/vradi-web/src/main/resources/struts.xml 2011-06-21 15:07:33 UTC (rev 88) +++ trunk/vradi-web/src/main/resources/struts.xml 2011-06-21 15:22:51 UTC (rev 89) @@ -29,6 +29,13 @@ <interceptors> <interceptor name="json" class="org.apache.struts2.json.JSONInterceptor"/> <interceptor-stack name="publicAreaStack"> + + <!-- display errors in logger --> + <interceptor-ref name="exception"> + <param name="logEnabled">true</param> + <param name="logCategory">org.chorem.vradi</param> + <param name="logLevel">ERROR</param> + </interceptor-ref> <interceptor-ref name="defaultStack"/> <interceptor-ref name="json"> <param name="enableSMD">true</param>