From: david-sarah Date: Wed, 19 May 2010 00:06:51 +0000 (-0700) Subject: SFTP: avoid logging all data passed to callbacks. X-Git-Tag: trac-4400~21 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/%22file:/vdrive?a=commitdiff_plain;h=d8b096a054db99b1604f8787f39ad4380f9bf9a1;p=tahoe-lafs%2Ftahoe-lafs.git SFTP: avoid logging all data passed to callbacks. --- diff --git a/src/allmydata/frontends/sftpd.py b/src/allmydata/frontends/sftpd.py index 46211f8d..08f2ae03 100644 --- a/src/allmydata/frontends/sftpd.py +++ b/src/allmydata/frontends/sftpd.py @@ -62,7 +62,7 @@ if noisy: s = traceback.format_stack() def _cb(res): try: - if noisy: logmsg("CALLBACK %r %r" % (d, res), level=NOISY) + if noisy: logmsg("CALLBACK %r" % (d,), level=NOISY) d.callback(res) except: # pragma: no cover logerr("Failed to callback %r with %r\n"