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 
----------------------------------------------------------------------------
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to