[Zodb-checkins] CVS: StandaloneZODB/ZEO/zrpc - connection.py:1.1.2.2.2.4

Jeremy Hylton jeremy@zope.com
Mon, 6 May 2002 17:02:59 -0400


Update of /cvs-repository/StandaloneZODB/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv18385/zrpc

Modified Files:
      Tag: ZEO2-branch
	connection.py 
Log Message:
Add logging of individual method calls at BLATHER level



=== StandaloneZODB/ZEO/zrpc/connection.py 1.1.2.2.2.3 => 1.1.2.2.2.4 ===
             msg = "Invalid method name: %s on %s" % (name, repr(self.obj))
             raise ZRPCError(msg)
+        if __debug__:
+            log("%s%s" % (name, args), level=zLOG.BLATHER)
 
         meth = getattr(self.obj, name)
         try: