roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r354241 - in /incubator/roller/trunk/src/org/roller/presentation/velocity: BasePageServlet.java PreviewServlet.java
Date Tue, 06 Dec 2005 00:29:16 GMT
Author: agilliland
Date: Mon Dec  5 16:29:08 2005
New Revision: 354241

URL: http://svn.apache.org/viewcvs?rev=354241&view=rev
Log:
a couple tweaks to the logging messages.


Modified:
    incubator/roller/trunk/src/org/roller/presentation/velocity/BasePageServlet.java
    incubator/roller/trunk/src/org/roller/presentation/velocity/PreviewServlet.java

Modified: incubator/roller/trunk/src/org/roller/presentation/velocity/BasePageServlet.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/velocity/BasePageServlet.java?rev=354241&r1=354240&r2=354241&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/velocity/BasePageServlet.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/velocity/BasePageServlet.java Mon Dec
 5 16:29:08 2005
@@ -131,12 +131,10 @@
             response.setStatus(HttpServletResponse.SC_NOT_FOUND);
             request.setAttribute("DisplayException", rnfe);
             
-            mLogger.error(rnfe.getClass().getName() 
-                + " processing URL: " + request.getRequestURL());
+            mLogger.error("ResourceNotFound: "+ request.getRequestURL());
             mLogger.debug(rnfe);
             
         } catch(Exception e) {
-            
             response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
             request.setAttribute("DisplayException", e);
             mLogger.error("EXCEPTION: in RollerServlet", e);

Modified: incubator/roller/trunk/src/org/roller/presentation/velocity/PreviewServlet.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/velocity/PreviewServlet.java?rev=354241&r1=354240&r2=354241&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/velocity/PreviewServlet.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/velocity/PreviewServlet.java Mon Dec
 5 16:29:08 2005
@@ -134,12 +134,10 @@
             response.setStatus(HttpServletResponse.SC_NOT_FOUND);
             request.setAttribute("DisplayException", rnfe);
             
-            mLogger.error(rnfe.getClass().getName() 
-                + " processing URL: " + request.getRequestURL());
+            mLogger.error("ResourceNotFound: "+ request.getRequestURL());
             mLogger.debug(rnfe);
             
         } catch(Exception e) {
-            
             response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
             request.setAttribute("DisplayException", e);
             mLogger.error("EXCEPTION: in RollerServlet", e);



Mime
View raw message