[Twisted-Python] Log rotates not as expected

Pet petshmidt at googlemail.com
Thu Jan 21 13:17:11 EST 2010

On Thu, Jan 21, 2010 at 7:02 PM, Maarten ter Huurne
<maarten at treewalker.org> wrote:
> On Thursday 21 January 2010, Lucas Taylor wrote:
>> This can occur if you have multiple instances of logfile.LogFile setup
>> to manage the same file. The default rotation is 1MB, so maybe you have
>> another logfile.LogFile somewhere?
> Maybe twistd's log rotation?

Yes, may be. I start my daemon with
/usr/bin/twistd -y mydaemon.py --logfile=/var/log/my.log

How do I start twistd, so it doesn't produce own log file?

Thanks for help!


> Bye,
>                Maarten
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list