aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/rpkid.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-11-08 21:28:41 +0000
committerRob Austein <sra@hactrn.net>2012-11-08 21:28:41 +0000
commitac5a75973d12500d4ba3adde71f557f74310c256 (patch)
tree55817c67703772b63321f0094428fdc272e948dd /rpkid/rpki/rpkid.py
parent0451518869110ec13b8e7485700b0e37cc142c6b (diff)
Doh, logging for new recovery code works better when committed to repository.
svn path=/branches/tk274/; revision=4816
Diffstat (limited to 'rpkid/rpki/rpkid.py')
-rw-r--r--rpkid/rpki/rpkid.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpkid/rpki/rpkid.py b/rpkid/rpki/rpkid.py
index fa9e9a78..314a05e3 100644
--- a/rpkid/rpki/rpkid.py
+++ b/rpkid/rpki/rpkid.py
@@ -1234,6 +1234,7 @@ class ca_detail_obj(rpki.sql.sql_persistent):
repository = self.ca.parent.repository
if self.latest_crl is not None and self.crl_published is not None and self.crl_published < stale:
+ rpki.log.debug("Retrying publication for %s" % self.crl_uri)
publisher.publish(cls = rpki.publication.crl_elt,
uri = self.crl_uri,
obj = self.latest_crl,
@@ -1241,6 +1242,7 @@ class ca_detail_obj(rpki.sql.sql_persistent):
handler = self.crl_published_callback)
if self.latest_manifest is not None and self.manifest_published is not None and self.manifest_published < stale:
+ rpki.log.debug("Retrying publication for %s" % self.manifest_uri)
publisher.publish(cls = rpki.publication.manifest_elt,
uri = self.manifest_uri,
obj = self.latest_manifest,