[Twisted-Python] Different logging class for .tac file run by twistd

Thomas Hervé therve at free.fr
Thu Apr 26 06:30:10 EDT 2007


Quoting Thomas Jacob <jacob at internet24.de>:

> Thanks for the hint!
>
> But this needs to be done after the app has already started.
> And thus after the twistd default logger has already logged its first
> lines.

True.

> Which probably means the default logger
> will always log/rotate a bit before my custom
> logger gets a chance, right?

Yes, but is that a problem ? In my case, the only visible things is a 
twistd.log
file next to other log files. Not really harmful.

-- 
Thomas






More information about the Twisted-Python mailing list