[Twisted-Python] Twistd, tac and Logging
mardiros
mardiros at laposte.net
Wed Sep 16 05:48:52 EDT 2009
Hi,
I have written an Twisted app in a tac file which use a custom LogObserver
and I'd like to turn off the output of twistd.
First, I 've tried something like this ( a Debian initd service file )
TACFILE=/opt/email2sms/email2smsd.tac
DAEMON=/usr/bin/twistd
PIDFILE=/var/run/mytac.pid
SCRIPTNAME=/etc/init.d/mytac
$DAEMON -oy $TACFILE --pidfile=$PIDFILE --logfile=/dev/null
but the logfile rotate, and it's create /dev/null.1, ...
What is the right way too do that ?
Thanks,
----------------------------------------------------------------------------
Laposte.net fête ses 10 ans !
Gratuite, garantie à vie et déjà utilisée par des millions d'internautes...
vous aussi, pour votre adresse e-mail, choisissez laposte.net.
Laposte.net, bien + qu'une messagerie
----------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20090916/60d34309/attachment.htm
More information about the Twisted-Python
mailing list