summaryrefslogtreecommitdiffstats
path: root/lite-xmlrpc.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-31 20:59:44 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-31 20:59:44 -0600
commita9e8bda0cf2cc76593d7eb89138607aa2cc5bb61 (patch)
tree977a596470c45a745bc3beebe96ca84d8fa4d0ae /lite-xmlrpc.py
parent242a8183a7cc002f496421352e8346db4232648b (diff)
downloadfreeipa-a9e8bda0cf2cc76593d7eb89138607aa2cc5bb61.tar.gz
freeipa-a9e8bda0cf2cc76593d7eb89138607aa2cc5bb61.tar.xz
freeipa-a9e8bda0cf2cc76593d7eb89138607aa2cc5bb61.zip
Dropped some of the more verbose logging in lite-xmlrpc.py to logger.debug()
Diffstat (limited to 'lite-xmlrpc.py')
-rwxr-xr-xlite-xmlrpc.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/lite-xmlrpc.py b/lite-xmlrpc.py
index 702d469d..3b04bc3f 100755
--- a/lite-xmlrpc.py
+++ b/lite-xmlrpc.py
@@ -115,15 +115,19 @@ class LoggingSimpleXMLRPCRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHa
# unmarshal the XML data
params, method = xmlrpclib.loads(data)
+ logger.info('Call to %s(%s) from %s:%s', method,
+ ', '.join(repr(p) for p in params),
+ clientIP, port
+ )
# Log client request
- logger.info('Client request: \n%s\n' % data)
+ logger.debug('Client request: \n%s\n' % data)
response = self._marshaled_dispatch(
data, getattr(self, '_dispatch', None))
# Log server response
- logger.info('Server response: \n%s\n' % response)
+ logger.debug('Server response: \n%s\n' % response)
except Exception, e:
# This should only happen if the module is buggy
# internal error, report as HTTP server error