[Twisted-Python] Add custom options handling to a twisted application running from twistd

David Cournapeau cournape at gmail.com
Thu Aug 19 00:52:05 EDT 2010

On Wed, Aug 18, 2010 at 9:10 PM, Itamar Turner-Trauring
<itamar at itamarst.org> wrote:
> On Wed, 2010-08-18 at 20:28 +0900, David Cournapeau wrote:
>> I am trying to add some options handling to an existing twisted
>> application, which runs as an "app" from twistd through the -y
>> argument. It is not clear to me how to do that ?
> Instead of using a .tac file, write a twistd plugin:
> http://twistedmatrix.com/documents/current/core/howto/tap.html

ok, thanks. I see that plugins don't support everything supported in
.tac (like customizing logging), though. Is this solved in the trunk,
or is this still an issue ? Are there any workarounds ?



More information about the Twisted-Python mailing list