From: Brian Warner Date: Tue, 15 Apr 2008 02:41:23 +0000 (-0700) Subject: helper: log SI in ciphertext-read-failed message X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/%22doc.html/architecture.txt?a=commitdiff_plain;h=a0fa21e442796d590342aecb97d9c969f213ca44;p=tahoe-lafs%2Ftahoe-lafs.git helper: log SI in ciphertext-read-failed message --- diff --git a/src/allmydata/offloaded.py b/src/allmydata/offloaded.py index 4a298f1f..6cc2e9c4 100644 --- a/src/allmydata/offloaded.py +++ b/src/allmydata/offloaded.py @@ -365,7 +365,8 @@ class CHKCiphertextFetcher(AskUntilSuccessMixin): else: self._loop(fire_when_done) def _err(f): - self.log("ciphertext read failed", failure=f, level=log.UNUSUAL) + self.log(format="[%(si)s] ciphertext read failed", + si=self._upload_id, failure=f, level=log.UNUSUAL) fire_when_done.errback(f) d.addCallbacks(_done, _err) return None