mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 13:33:09 +00:00
webish: flogify the remaining log messages
This commit is contained in:
parent
94348b7182
commit
55d30790bc
@ -920,7 +920,8 @@ class POSTHandler(rend.Page):
|
|||||||
def _got_child_check(child_node):
|
def _got_child_check(child_node):
|
||||||
d2 = child_node.check()
|
d2 = child_node.check()
|
||||||
def _done(res):
|
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)
|
return str(res)
|
||||||
d2.addCallback(_done)
|
d2.addCallback(_done)
|
||||||
return d2
|
return d2
|
||||||
@ -1056,7 +1057,8 @@ class PUTHandler(rend.Page):
|
|||||||
uploadable = FileHandle(contents)
|
uploadable = FileHandle(contents)
|
||||||
d = node.add_file(name, uploadable)
|
d = node.add_file(name, uploadable)
|
||||||
def _done(filenode):
|
def _done(filenode):
|
||||||
log.msg("webish upload complete")
|
log.msg("webish upload complete",
|
||||||
|
facility="tahoe.webish", level=log.NOISY)
|
||||||
return filenode.get_uri()
|
return filenode.get_uri()
|
||||||
d.addCallback(_done)
|
d.addCallback(_done)
|
||||||
return d
|
return d
|
||||||
|
Loading…
Reference in New Issue
Block a user