Adding a hand test to validate EnsureChannel, fixing the ensure channel issues
[theonering] / src / handle.py
index 2d27dd4..44a9418 100644 (file)
@@ -128,9 +128,8 @@ def create_handle_factory():
                        cache[key] = handle
                        isNewHandle = True
                connection._handles[handle.get_type(), handle.get_id()] = handle
-               if False:
-                       handleStatus = "Is New!" if isNewHandle else "From Cache"
-                       _moduleLogger.info("Created Handle: %r (%s)" % (handle, handleStatus))
+               handleStatus = "Is New!" if isNewHandle else "From Cache"
+               _moduleLogger.debug("Created Handle: %r (%s)" % (handle, handleStatus))
                return handle
 
        return create_handle