[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1927: cloud backend spams twistd.log with two entries for each HTTP connection

Tahoe-LAFS trac at tahoe-lafs.org
Sat Jun 28 16:24:19 UTC 2014


#1927: cloud backend spams twistd.log with two entries for each HTTP connection
--------------------------+------------------------------------------------
     Reporter:            |      Owner:  daira
  davidsarah              |     Status:  assigned
         Type:  defect    |  Milestone:  soon
     Priority:  normal    |    Version:  cloud-branch
    Component:  code-     |   Keywords:  twisted http logging cloud-backend
  storage                 |
   Resolution:            |
Launchpad Bug:            |
--------------------------+------------------------------------------------

Comment (by daira):

 Replying to [comment:4 daira]:
 > I think (but have no way to test from where I am now) that it can be
 fixed by changing [https://github.com/tahoe-lafs/tahoe-lafs/blob/2237
 -cloud-
 backend-s4/src/allmydata/storage/backends/cloud/s3/s3_container.py#L55
 this line in s3_container.py] to:
 > {{{
 >     query = Query(*args, **kwargs)
 >     if hasattr(query.factory, 'noisy'):
 >         query.factory.noisy = False
 >     return query
 > }}}

 Actually that won't quite work because that coffee is conditional on
 `usertoken` being `not None`. It would have to be made unconditional, or
 the `noisy` attribute set in txAWS (just after
 [https://github.com/LeastAuthority/txaws/blob/master/txaws/client/base.py#L79
 here]) instead.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1927#comment:5>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list