From 2d1ca6bf6f110de1a907015c07afb26500a1437d Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Mon, 13 Aug 2012 00:47:48 -0700 Subject: [PATCH] show what names the cert was issued for --- server-ca/daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server-ca/daemon.py b/server-ca/daemon.py index b8ee0b787..497a6b6eb 100644 --- a/server-ca/daemon.py +++ b/server-ca/daemon.py @@ -268,7 +268,7 @@ def issue(session): cert = CSR.issue(csr, names) r.hset(session, "cert", cert) if cert: # once issuing cert succeeded - if debug: print "issued for", short(session) + if debug: print "%s: issued certificate for names: %s" % (short(session), ", ".join(names)) r.hset(session, "state", "done") r.lpush("pending-done", session) # TODO: Note that we do not publish a pubsub message when @@ -322,7 +322,7 @@ for message in ps.listen(): if debug: print "expiring ancient session", short(session) r.hset(session, "live", False) else: - if debug: print "going to %s for %s" % (queue, short(session)) + # if debug: print "going to %s for %s" % (queue, short(session)) if queue == "makechallenge": makechallenge(session) elif queue == "testchallenge": testchallenge(session) elif queue == "issue": issue(session)