[Yanel-commits] rev 21636 - public/yanel/trunk/src/core/java/org/wyona/yanel/servlet

michi at wyona.com michi at wyona.com
Thu Jan 11 12:03:19 CET 2007


Author: michi
Date: 2007-01-11 12:03:18 +0100 (Thu, 11 Jan 2007)
New Revision: 21636

Modified:
   public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java
Log:
log messages cleaned

Modified: public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java
===================================================================
--- public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java	2007-01-11 10:52:21 UTC (rev 21635)
+++ public/yanel/trunk/src/core/java/org/wyona/yanel/servlet/YanelServlet.java	2007-01-11 11:03:18 UTC (rev 21636)
@@ -406,7 +406,7 @@
                 // TODO: Compare If-Modified-Since with lastModified and return 304 without content resp. check on ETag
                 String ifModifiedSince = request.getHeader("If-Modified-Since");
                 if (ifModifiedSince != null) {
-                    log.error("DEBUG: TODO: Implement 304 ...");
+                    log.warn("TODO: Implement 304 ...");
                 }
 
                 java.io.OutputStream os = response.getOutputStream();
@@ -1267,7 +1267,7 @@
         String httpAcceptMediaTypes = request.getHeader("Accept");
         log.debug("HTTP Accept Media Types: " + httpAcceptMediaTypes);
         if (contentType != null && contentType.equals("application/xhtml+xml") && httpAcceptMediaTypes != null && httpAcceptMediaTypes.indexOf("application/xhtml+xml") < 0) {
-            log.error("DEBUG: Patch contentType with text/html because client (" + request.getHeader("User-Agent") + ") does not seem to understand application/xhtml+xml");
+            log.info("Patch contentType with text/html because client (" + request.getHeader("User-Agent") + ") does not seem to understand application/xhtml+xml");
             return "text/html";
         }
         return contentType;




More information about the Yanel-commits mailing list