Thanks for the info Jean-Paul.  <br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 5:02 PM, Jean-Paul Calderone <span dir="ltr">&lt;<a href="mailto:exarkun@divmod.com">exarkun@divmod.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Wed, 24 Jun 2009 16:53:58 -0500, Dustin Land &lt;<a href="mailto:revenantstyle@gmail.com">revenantstyle@gmail.com</a>&gt; wrote:<br>
&gt;Greetings!<br>
&gt;<br>
&gt;Currently I&#39;m running two daemons that talk to each other over xmlrpc.<br>
&gt;One runs an implementation of internet.TCPServer with an xmlrpc.XMLRPC<br>
&gt;handler.<br>
&gt;The other simply uses web.xmlrpc.Proxy.<br>
&gt;<br>
&gt;In the logs for the first I get a flood of...<br>
&gt;2009-06-24 15:31:35-0500 [-] 127.0.0.1 - - [24/Jun/2009:20:31:34 +0000]<br>
&gt;&quot;POST / HTTP/1.0&quot; 200 297 &quot;-&quot; &quot;Twisted/XMLRPClib&quot;<br>
&gt;In the second...<br>
&gt;2009-06-24 16:44:13-0500 [-] Starting factory<br>
&gt;&lt;twisted.web.xmlrpc._QueryFactory instance at 0x2d9afc8&gt;<br>
&gt;2009-06-24 16:44:13-0500 [QueryProtocol,client] Stopping factory<br>
&gt;&lt;twisted.web.xmlrpc._QueryFactory instance at 0x2d9afc8&gt;<br>
&gt;<br>
&gt;Is there a way to disable this?  I saw in the archives that<br>
&gt;HTTPClientFactory.noisy can be set to False.  Is there something similar for<br>
&gt;both of these instances?<br>
<br>
</div></div>Not really.<br>
<br>
_QueryFactory is a subclass of ClientFactory, so like HTTPClientFactory, it<br>
has the `noisy´ attribute which controls whether it logs these messages.  The<br>
trouble here is that you don&#39;t have access to the _QueryFactory instance.  It<br>
might be a nice enhancement to either add a way to get at it, or perhaps to<br>
just give `Proxy´ a `noisy´ attribute which it copies onto the _QueryFactory<br>
instance it creates.<br>
<br>
It might also be nice to get rid of this `noisy´ stuff and instead have<br>
ClientFactory (and subclasses) always log this information, then teach the<br>
log observer (ie, the thing which actually writes these messages to a log<br>
file) how to be more selective in what it actually reports.<br>
<br>
Jean-Paul<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br>