From: Brian Warner Date: Wed, 13 Feb 2008 02:32:33 +0000 (-0700) Subject: webish: flogify the remaining log messages X-Git-Tag: allmydata-tahoe-0.8.0~83 X-Git-Url: https://git.rkrishnan.org/pf/content//%22news.html/%22?a=commitdiff_plain;h=55d30790bc29e199ed8ad606163a555001315e6d;p=tahoe-lafs%2Ftahoe-lafs.git webish: flogify the remaining log messages --- diff --git a/src/allmydata/webish.py b/src/allmydata/webish.py index acd37c94..a7728863 100644 --- a/src/allmydata/webish.py +++ b/src/allmydata/webish.py @@ -920,7 +920,8 @@ class POSTHandler(rend.Page): def _got_child_check(child_node): d2 = child_node.check() def _done(res): - log.msg("checked %s, results %s" % (child_node, res)) + log.msg("checked %s, results %s" % (child_node, res), + facility="tahoe.webish", level=log.NOISY) return str(res) d2.addCallback(_done) return d2 @@ -1056,7 +1057,8 @@ class PUTHandler(rend.Page): uploadable = FileHandle(contents) d = node.add_file(name, uploadable) def _done(filenode): - log.msg("webish upload complete") + log.msg("webish upload complete", + facility="tahoe.webish", level=log.NOISY) return filenode.get_uri() d.addCallback(_done) return d