From: Adrian Likins Date: Tue, 18 Mar 2008 20:06:01 +0000 (-0400) Subject: be a bit more verbose in the logging here, add file location info to logs X-Git-Tag: v0.20~8 X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=commitdiff_plain;h=f9375dad2c0da2be5279dfaa0aa4d0a2754147ba be a bit more verbose in the logging here, add file location info to logs --- diff --git a/certmaster/utils.py b/certmaster/utils.py index 6881558..eec3d2b 100755 --- a/certmaster/utils.py +++ b/certmaster/utils.py @@ -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)