[Twisted-Python] .tac filenames configurations
![](https://secure.gravatar.com/avatar/aa2c46510a1ac4d2e2cdb3eb2bd3f565.jpg?s=120&d=mm&r=g)
Is there a way to indicate in the .tac file which .log and .pid filenames the .tap file will generate ? If not, should not this feature be aviable ? Happy new year for the Twisted minds... RodrigoB.
![](https://secure.gravatar.com/avatar/d7875f8cfd8ba9262bfff2bf6f6f9b35.jpg?s=120&d=mm&r=g)
On Sat, 2003-12-27 at 14:51, RITA Y/O RODRIGO DIAZ Y/O BENENSON wrote:
Is there a way to indicate in the .tac file which .log and .pid filenames the .tap file will generate ?
No, this is twistd's responsibility.
If not, should not this feature be aviable ?
Well... For example, running NT service means no concept of .pid file and log file might go to NT event log. However, Application objects do have a name, and certainly it might make sense to have twistd use that as the default, so for "foo" twistd would default to foo.pid and foo.log to go along with foo.tap. Problem is this would not be backwards compatible How about adding issue to bug tracker, where we can discuss this. -- Itamar Shtull-Trauring http://itamarst.org Looking for a job: http://itamarst.org/resume.html
![](https://secure.gravatar.com/avatar/d7875f8cfd8ba9262bfff2bf6f6f9b35.jpg?s=120&d=mm&r=g)
On Sat, 2003-12-27 at 14:51, RITA Y/O RODRIGO DIAZ Y/O BENENSON wrote:
Is there a way to indicate in the .tac file which .log and .pid filenames the .tap file will generate ?
No, this is twistd's responsibility.
If not, should not this feature be aviable ?
Well... For example, running NT service means no concept of .pid file and log file might go to NT event log. However, Application objects do have a name, and certainly it might make sense to have twistd use that as the default, so for "foo" twistd would default to foo.pid and foo.log to go along with foo.tap. Problem is this would not be backwards compatible How about adding issue to bug tracker, where we can discuss this. -- Itamar Shtull-Trauring http://itamarst.org Looking for a job: http://itamarst.org/resume.html
participants (2)
-
Itamar Shtull-Trauring
-
RITA Y/O RODRIGO DIAZ Y/O BENENSON