Author: scottbw
Date: Mon Aug 23 05:51:54 2010
New Revision: 987997
URL: http://svn.apache.org/viewvc?rev=987997&view=rev
Log:
Downgraded the log message for WidgetInstances not found to Debug and provided
more context information; generally this will happen when a connector asks for
a WidgetInstance for the first time (as it hasn't been created) and isn't
necessarily an error.
Modified:
incubator/wookie/branches/pluggablepersistence/src/org/apache/wookie/controller/WidgetInstancesController.java
Modified:
incubator/wookie/branches/pluggablepersistence/src/org/apache/wookie/controller/WidgetInstancesController.java
URL:
http://svn.apache.org/viewvc/incubator/wookie/branches/pluggablepersistence/src/org/apache/wookie/controller/WidgetInstancesController.java?rev=987997&r1=987996&r2=987997&view=diff
==============================================================================
---
incubator/wookie/branches/pluggablepersistence/src/org/apache/wookie/controller/WidgetInstancesController.java
(original)
+++
incubator/wookie/branches/pluggablepersistence/src/org/apache/wookie/controller/WidgetInstancesController.java
Mon Aug 23 05:51:54 2010
@@ -359,7 +359,7 @@ public class WidgetInstancesController e
instance =
persistenceManager.findWidgetInstance(apiKey, userId, sharedDataKey,
serviceType);
}
if (instance == null) {
- _logger.error("No widget instance for found");
+ _logger.debug("No widget instance found for
APIkey= "+apiKey+" userId="+userId+" widgetId="+widgetId);
}
return instance;
} catch (UnsupportedEncodingException e) {