You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2010/06/11 02:56:38 UTC

svn commit: r953525 - in /incubator/wookie/trunk/src/org/apache/wookie/controller: ParticipantsController.java WidgetInstancesController.java

Author: rgardler
Date: Fri Jun 11 00:56:38 2010
New Revision: 953525

URL: http://svn.apache.org/viewvc?rev=953525&view=rev
Log:
use debug rather than info for log messages

Modified:
    incubator/wookie/trunk/src/org/apache/wookie/controller/ParticipantsController.java
    incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java

Modified: incubator/wookie/trunk/src/org/apache/wookie/controller/ParticipantsController.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/controller/ParticipantsController.java?rev=953525&r1=953524&r2=953525&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/controller/ParticipantsController.java (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/controller/ParticipantsController.java Fri Jun 11 00:56:38 2010
@@ -115,6 +115,7 @@ public class ParticipantsController exte
 
 		if (addParticipantToWidgetInstance(instance, participant_id, participant_display_name, participant_thumbnail_url)){
 			Notifier.notifyWidgets(session, instance, Notifier.PARTICIPANTS_UPDATED);
+			_logger.debug("added user to widget instance: " + participant_id);
 			return true;
 		} else {
 			// No need to create a new participant, it already existed

Modified: incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java?rev=953525&r1=953524&r2=953525&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/controller/WidgetInstancesController.java Fri Jun 11 00:56:38 2010
@@ -333,11 +333,11 @@ public class WidgetInstancesController e
   		String widgetId = request.getParameter("widgetid");
       if (widgetId != null){
         widgetId = URLDecoder.decode(widgetId, "UTF-8"); //$NON-NLS-1$
-        _logger.info("Looking for widget instance with widgetid of " + widgetId);
+        _logger.debug("Looking for widget instance with widgetid of " + widgetId);
         instance = WidgetInstance.getWidgetInstanceById(apiKey, userId, sharedDataKey, widgetId);
       } else {
         String serviceType = URLDecoder.decode(request.getParameter("servicetype"), "UTF-8"); //$NON-NLS-1$
-        _logger.info("Looking for widget instance of service type " + serviceType);
+        _logger.debug("Looking for widget instance of service type " + serviceType);
         instance = WidgetInstance.getWidgetInstance(apiKey, userId, sharedDataKey, serviceType);
       }
       if (instance == null) {