be a bit more verbose in the logging here, add file location info to logs
authorAdrian Likins <alikins@grimlock.devel.redhat.com>
Tue, 18 Mar 2008 20:06:01 +0000 (16:06 -0400)
committerAdrian Likins <alikins@grimlock.devel.redhat.com>
Tue, 18 Mar 2008 20:06:01 +0000 (16:06 -0400)
certmaster/utils.py

index 6881558..eec3d2b 100755 (executable)
@@ -182,7 +182,7 @@ def create_minion_keys():
 
     if result:
         # print "DEBUG: recieved certificate from certmaster"
-        log.debug("received certificate from certmaster %s, storing" % master_uri)
+        log.debug("received certificate from certmaster %s, storing to %s" % (master_uri, cert_file))
         cert_fd = os.open(cert_file, os.O_RDWR|os.O_CREAT, 0644)
         os.write(cert_fd, cert_string)
         os.close(cert_fd)