From: Brian Warner Date: Wed, 19 Dec 2007 06:42:41 +0000 (-0700) Subject: mutable.py: one more logging fix X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/frontends/FTP-and-SFTP.rst?a=commitdiff_plain;h=fc3574a65473f37b57e9e6a4b564dcc880e1fcc3;p=tahoe-lafs%2Ftahoe-lafs.git mutable.py: one more logging fix --- diff --git a/src/allmydata/mutable.py b/src/allmydata/mutable.py index 5d785a0e..49493255 100644 --- a/src/allmydata/mutable.py +++ b/src/allmydata/mutable.py @@ -714,10 +714,12 @@ class Publish: num = self._node._client.log("Publish(%s): starting" % prefix) self._log_number = num - def log(self, msg): + def log(self, msg, parent=None): prefix = self._log_prefix + if parent is None: + parent = self._log_number num = self._node._client.log("Publish(%s): %s" % (prefix, msg), - parent=self._log_number) + parent=parent) return num def log_err(self, f):