diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-03-29 16:46:03 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-03-30 09:41:20 -0400 |
commit | 09d3a6b910b9651e9c8d59917d32a0622409f2e8 (patch) | |
tree | 42d6f82be878d215e34cdd819fdf7acf74be26bf /ipaserver | |
parent | c3c850b1d795bec6d11e2dc00cd31676a97ba208 (diff) | |
download | freeipa-09d3a6b910b9651e9c8d59917d32a0622409f2e8.tar.gz freeipa-09d3a6b910b9651e9c8d59917d32a0622409f2e8.tar.xz freeipa-09d3a6b910b9651e9c8d59917d32a0622409f2e8.zip |
Log some information on the result of a request
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/rpcserver.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipaserver/rpcserver.py b/ipaserver/rpcserver.py index 967ee333c..667a7c4ca 100644 --- a/ipaserver/rpcserver.py +++ b/ipaserver/rpcserver.py @@ -293,8 +293,10 @@ class xmlserver(WSGIExecutioner): def marshal(self, result, error, _id=None): if error: + self.info('response: %s: %s', error.__class__.__name__, str(error)) response = Fault(error.errno, error.strerror) else: + self.info('response: entries returned %d', result.get('count', 1)) response = (result,) return xml_dumps(response, methodresponse=True) |