Add logging connection in XMLRPCRequestHandler

This commit is contained in:
Cédric Krier committed 2008-05-29 20:07:31 +02:00
1 parent 743be387bb
commit b709d949d0
1 file changed
+3
+3
View File
@@ -169,6 +169,9 @@ class XmlRpc(object):
class GenericXMLRPCRequestHandler:
def _dispatch(self, method, params):
host, port = self.client_address[:2]
Logger().notify_channel('web-service', LOG_INFO,
'connection from %s:%d' % (host, port))
try:
name = self.path.split("/")[-1]
service = LocalService(name)