summaryrefslogtreecommitdiffstats
path: root/minion/logger.py
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2007-09-26 15:04:51 -0400
committerAdrian Likins <alikins@redhat.com>2007-09-26 15:04:51 -0400
commit8bf09418aba3fb398e03d0f31d167c806bfa26b0 (patch)
tree65e69dcadac94a3f46d88f83f88b63ab75d10712 /minion/logger.py
parent43d63a3ef90d758e0657284f1cfe7d48229d3934 (diff)
downloadthird_party-func-8bf09418aba3fb398e03d0f31d167c806bfa26b0.tar.gz
third_party-func-8bf09418aba3fb398e03d0f31d167c806bfa26b0.tar.xz
third_party-func-8bf09418aba3fb398e03d0f31d167c806bfa26b0.zip
Enable ssl cert useage by default for funcd
add a FuncSSLXMLRPCServer that is based on the AuthedXMLRPCServer.AuthedSSLXMLRPCServer add bits to pull out cert CN and cert CN hash and add it to the audit log bits update logger.py to understand this Some minor refactoring in server.py (use XmlRpcInterface as a baseclass inherited into FuncSSLXMLRPCServer)
Diffstat (limited to 'minion/logger.py')
-rwxr-xr-xminion/logger.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/minion/logger.py b/minion/logger.py
index 7747824..f6f9c0f 100755
--- a/minion/logger.py
+++ b/minion/logger.py
@@ -63,9 +63,9 @@ class AuditLogger(Singleton):
if self._no_handlers:
self._setup_handlers(logfilepath=logfilepath)
- def log_call(self, method, params):
+ def log_call(self, CN, cert_hash, method, params):
# square away a good parseable format at some point -akl
- self.logger.info("%s called with %s" % (method, params))
+ self.logger.info("%s %s %s called with %s" % (CN, cert_hash, method, params))
def _setup_logging(self):