r1009 - xwiki/trunk/src/main/java/com/xpn/xwiki/stats/impl

Ludovic Dubost ludovic at users.forge.objectweb.org
Wed Mar 29 11:08:21 CEST 2006


Author: ludovic
Date: 2006-03-29 11:08:20 +0200 (Wed, 29 Mar 2006)
New Revision: 1009

Modified:
   xwiki/trunk/src/main/java/com/xpn/xwiki/stats/impl/XWikiStatsServiceImpl.java
Log:
Fixing bug XWIKI-52 with cookie warnings

Modified: xwiki/trunk/src/main/java/com/xpn/xwiki/stats/impl/XWikiStatsServiceImpl.java
===================================================================
--- xwiki/trunk/src/main/java/com/xpn/xwiki/stats/impl/XWikiStatsServiceImpl.java	2006-03-29 07:12:35 UTC (rev 1008)
+++ xwiki/trunk/src/main/java/com/xpn/xwiki/stats/impl/XWikiStatsServiceImpl.java	2006-03-29 09:08:20 UTC (rev 1009)
@@ -315,7 +315,7 @@
                 // Since the session is also maintained using a cookie
                 // then there is something wrong here
                 if (log.isDebugEnabled())
-                  log.warn("Found visit with cookie " + vobject.getCookie() + " in session "
+                  log.debug("Found visit with cookie " + vobject.getCookie() + " in session "
                            + session.getId() + " for request with cookie " + cookie.getValue());
                 // And forget about this session
                 vobject = null;
@@ -474,8 +474,8 @@
             cookie.setDomain(cookieDomain);
     }
 
-    if (log.isWarnEnabled()) {
-        log.warn("Setting cookie " + cookie.getValue() + " for name " + cookie.getName()
+    if (log.isDebugEnabled()) {
+        log.debug("Setting cookie " + cookie.getValue() + " for name " + cookie.getName()
                 + " with domain " + cookie.getDomain() + " and path " + cookie.getPath()
                 + " and maxage " + cookie.getMaxAge());
     }





More information about the Xwiki-notifications mailing list