[Twisted-Python] Re: [Twisted-commits] r14296 - protocol wrapper which logs everything that goes through it
Andrew Bennetts
andrew-twisted at puzzling.org
Sun Aug 21 20:00:50 EDT 2005
On Sun, Aug 21, 2005 at 08:42:33AM -0600, Jp Calderone wrote:
> Author: exarkun
> Date: Sun Aug 21 08:42:33 2005
> New Revision: 14296
>
> Modified:
> trunk/twisted/protocols/policies.py
> trunk/twisted/test/test_policies.py
> Log:
> protocol wrapper which logs everything that goes through it
>
> Modified: trunk/twisted/protocols/policies.py
> ==============================================================================
> --- trunk/twisted/protocols/policies.py (original)
> +++ trunk/twisted/protocols/policies.py Sun Aug 21 08:42:33 2005
> @@ -428,6 +428,69 @@
> timeoutPeriod=self.timeoutPeriod)
>
>
> +class TrafficLoggingProtocol(ProtocolWrapper):
[...]
Hmm, this seems to be similar to twisted.manhole._inspectro.LoggingProtocol.
Can they be combined?
-Andrew.
More information about the Twisted-Python
mailing list