portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r331642 - /portals/jetspeed-2/trunk/components/statistics/src/java/org/apache/jetspeed/statistics/impl/PortalStatisticsImpl.java
Date Mon, 07 Nov 2005 23:36:12 GMT
Author: taylor
Date: Mon Nov  7 15:36:11 2005
New Revision: 331642

URL: http://svn.apache.org/viewcvs?rev=331642&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-362

User statistics implemented

Modified:
    portals/jetspeed-2/trunk/components/statistics/src/java/org/apache/jetspeed/statistics/impl/PortalStatisticsImpl.java

Modified: portals/jetspeed-2/trunk/components/statistics/src/java/org/apache/jetspeed/statistics/impl/PortalStatisticsImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/statistics/src/java/org/apache/jetspeed/statistics/impl/PortalStatisticsImpl.java?rev=331642&r1=331641&r2=331642&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/statistics/src/java/org/apache/jetspeed/statistics/impl/PortalStatisticsImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/statistics/src/java/org/apache/jetspeed/statistics/impl/PortalStatisticsImpl.java
Mon Nov  7 15:36:11 2005
@@ -194,6 +194,7 @@
         return ds;
     }
 
+    
     public void logPortletAccess(RequestContext request, String portletName,
             String statusCode, long msElapsedTime)
     {
@@ -210,7 +211,7 @@
             record.setPortletName(portletName);
             record.setUserName(userName);
             record.setIpAddress(req.getRemoteAddr());
-            record.setPagePath(req.getPathInfo());
+            record.setPagePath(request.getPage().getPath());
             record.setStatus(Integer.parseInt(statusCode));
             record.setTimeStamp(timestamp);
             record.setMsElapsedTime(msElapsedTime);
@@ -324,7 +325,7 @@
 
             record.setUserName(userName);
             record.setIpAddress(req.getRemoteAddr());
-            record.setPagePath(req.getPathInfo());
+            record.setPagePath(request.getPage().getPath());
             record.setStatus(Integer.parseInt(statusCode));
             record.setTimeStamp(timestamp);
             record.setMsElapsedTime(msElapsedTime);



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message