2006/unicorn/src/org/w3c/unicorn/action ObserveAction.java,1.21,1.22

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv6075/src/org/w3c/unicorn/action

Modified Files:
	ObserveAction.java 
Log Message:
changed level from debug to warn in case a parameter is unknown + more explicit log

Index: ObserveAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/ObserveAction.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- ObserveAction.java	8 Sep 2009 15:32:46 -0000	1.21
+++ ObserveAction.java	8 Sep 2009 15:41:03 -0000	1.22
@@ -170,7 +170,7 @@
 				} else if (paramName.equals("text_mime")) {
 					aUnicornCall.addParameter(paramPrefix + "mime", (String) reqParams.get(key));
 				} else {
-					logger.debug("Unknown parameter: " + key + " - " + (String) reqParams.get(key) +". This parameter is added to aUnicornCall.");
+					logger.warn("Unknown parameter: " + key + " - " + (String) reqParams.get(key) +". This parameter is added to aUnicornCall. Check that this is the wanted behavior.");
 					aUnicornCall.addParameter(key, reqParams.get(key).toString());
 				}
 			}

Received on Tuesday, 8 September 2009 15:41:14 UTC