Author: michiel Date: 2010-02-09 19:10:50 +0100 (Tue, 09 Feb 2010) New Revision: 40952
Modified: mmbase/trunk/core/src/main/java/org/mmbase/datatypes/processors/Cookies.java Log: lowred some logs Modified: mmbase/trunk/core/src/main/java/org/mmbase/datatypes/processors/Cookies.java =================================================================== --- mmbase/trunk/core/src/main/java/org/mmbase/datatypes/processors/Cookies.java 2010-02-09 18:10:30 UTC (rev 40951) +++ mmbase/trunk/core/src/main/java/org/mmbase/datatypes/processors/Cookies.java 2010-02-09 18:10:50 UTC (rev 40952) @@ -44,28 +44,28 @@ private static final long serialVersionUID = 1L; public Object process(Node node, Field field, Object value) { - LOG.info("Getting defaul gvalue for " + field); + LOG.debug("Getting default value for " + field); Cloud cloud = CloudThreadLocal.currentCloud(); if (cloud == null) { - LOG.info("No cloud using " + value); + LOG.debug("No cloud using " + value); return value; } else { HttpServletRequest req = (HttpServletRequest) cloud.getProperty(Cloud.PROP_REQUEST); if (req == null) { - LOG.info("No request using " + value); + LOG.debug("No request using " + value); return value; } Cookie[] cookies = req.getCookies(); if (cookies != null) { for (Cookie c : cookies) { - LOG.info("Considering " + c.getName()); + LOG.debug("Considering " + c.getName()); if (c.getName().equals(cookie)) { - LOG.info("Found! " + c.getValue()); + LOG.debug("Found! " + c.getValue()); return c.getValue(); } } } - LOG.info("Cookie not found using " + value); + LOG.debug("Cookie not found using " + value); return value; } } @@ -87,7 +87,7 @@ if (res.isCommitted()) { LOG.warn("Cannot set cookie " + c); } else { - LOG.service("Setting cookie " + c); + LOG.debug("Setting cookie " + c); res.addCookie(c); } return value; _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs