From fc3574a65473f37b57e9e6a4b564dcc880e1fcc3 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 18 Dec 2007 23:42:41 -0700 Subject: [PATCH] mutable.py: one more logging fix --- src/allmydata/mutable.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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): -- 2.45.2