incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r699286 - /incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java
Date Fri, 26 Sep 2008 11:56:39 GMT
Author: fmeschbe
Date: Fri Sep 26 04:56:38 2008
New Revision: 699286

URL: http://svn.apache.org/viewvc?rev=699286&view=rev
Log:
SLING-669 log an exception at debug level to have the
stack trace in addition to the message in log file

Modified:
    incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java

Modified: incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java?rev=699286&r1=699285&r2=699286&view=diff
==============================================================================
--- incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java
(original)
+++ incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java
Fri Sep 26 04:56:38 2008
@@ -162,6 +162,9 @@
                 htmlResponse.setStatus(HttpServletResponse.SC_NOT_FOUND,
                     rnfe.getMessage());
             } catch (Throwable throwable) {
+                log.debug("Exception while handling POST "
+                    + request.getResource().getPath() + " with "
+                    + operation.getClass().getName(), throwable);
                 htmlResponse.setError(throwable);
             }
 



Mime
View raw message