On 08:18 am, [email protected] wrote:
>Hi,
>
>I have written a small script which uses getPage, and I would like to
>disable the verbose getPage output ([HTTPPageGetter,client] Starting
>factory / [HTTPPageGetter,client] Stoping factory pairs).

You can disable the logging process-wide by setting 
HTTPClientFactory.noisy to False.  You can do it on a per-request basis 
by implementing your own getPage, and setting noisy to False on the 
HTTPClientFactory instance it creates.

Agent has less annoying logging stuff, and some other nice features too, 
so if it satisfies your use cases, you might want to use it instead.

Jean-Paul

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to