[Twisted-Python] Using service.Application

Richard.Townsend at edl.uk.eds.com Richard.Townsend at edl.uk.eds.com
Mon Dec 15 09:01:44 EST 2003

> Your new version isn't actually starting up any of your services.  Two
> ways to address this: use twisted.internet.app.startApplication and
> twisted.internet.app.runReactorWithLogging (these are what "twistd" calls
> internally) instead of reactor.run, or get rid of the __name__ check and
> reactor.run() call, and use "twistd -y <your file>" to run the server.
>   Jp

Thanks for the suggestions Jp (I assume you meant twisted.application.app,
not twisted.internet.app).

I don't use twistd at present because I subclass Logfile to limit the max
number of rotating log files and I not aware of how I can do that with

Richard Townsend
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20031215/fca13170/attachment.htm 

More information about the Twisted-Python mailing list