Commit b7675689 authored by Dmitry Duplyakin's avatar Dmitry Duplyakin
parents 3125ecd1 3ce9d79b
......@@ -1033,7 +1033,14 @@ class ProtoGeniServer:
#
# Make the call.
#
LOG.debug("REQUEST: %s %s(%s)" % (str(url),str(method),str(params)))
if LOG.isEnabledFor(logging.DEBUG):
lparams = dict(params)
if 'credential' in lparams and len(lparams['credential']) > 64:
lparams['credential'] = lparams['credential'][:32] + "<<<...>>>" + lparams['credential'][-32:]
if 'credentials' in lparams and len(str(lparams['credentials'])) > 64:
lparams['credentials'] = str(lparams['credentials'])[:32] + "<<<...>>>" + str(lparams['credentials'])[-32:]
LOG.debug("REQUEST: %s %s(%s)" % (str(url),str(method),str(lparams)))
pass
while True:
try:
server.request("POST",url.path,xmlrpclib.dumps((params,),method),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment