[Twisted-Python] Using service.Application
Jp Calderone
exarkun at intarweb.us
Mon Dec 15 09:16:06 EST 2003
On Mon, Dec 15, 2003 at 02:01:44PM -0000, Richard.Townsend at edl.uk.eds.com wrote:
> > 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
> the
> > 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).
Ahh, yes. Finger memory is still using the old system...
>
> 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
> twistd.
Yep, twistd doesn't let you control that very well.. Fixing it has long
been on my todo list.
Jp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20031215/843207f5/attachment.pgp
More information about the Twisted-Python
mailing list