<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Using service.Application</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>&gt; Your new version isn't actually starting up any of your services.&nbsp; Two</FONT>
<BR><FONT SIZE=2>&gt; ways to address this: use twisted.internet.app.startApplication and</FONT>
<BR><FONT SIZE=2>&gt; twisted.internet.app.runReactorWithLogging (these are what &quot;twistd&quot; calls</FONT>
<BR><FONT SIZE=2>&gt; internally) instead of reactor.run, or get rid of the __name__ check and the</FONT>
<BR><FONT SIZE=2>&gt; reactor.run() call, and use &quot;twistd -y &lt;your file&gt;&quot; to run the server.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; Jp</FONT>
</P>

<P><FONT SIZE=2>Thanks for the suggestions Jp (I assume you meant twisted.application.app, not twisted.internet.app).</FONT>
</P>

<P><FONT SIZE=2>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.</FONT></P>

<P><FONT SIZE=2>regards,</FONT>
<BR><FONT SIZE=2>Richard Townsend</FONT>
</P>

</BODY>
</HTML>