mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Dropped some of the more verbose logging in lite-xmlrpc.py to logger.debug()
This commit is contained in:
parent
242a8183a7
commit
a9e8bda0cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user