From d8b096a054db99b1604f8787f39ad4380f9bf9a1 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Tue, 18 May 2010 17:06:51 -0700 Subject: [PATCH] SFTP: avoid logging all data passed to callbacks. --- src/allmydata/frontends/sftpd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.45.2