[Twisted-Python] Problem Changing Time Format of a Log

Cameron Dale camrdale at gmail.com
Fri May 2 12:24:42 EDT 2008


On 5/2/08, Andrew Francis <andrewfr_ice at yahoo.com> wrote:
>  I need to change date format of a log - the
>  application I am using wants HH:MM:SS. Twisted seems
>  to give back HH:MM.

I can't comment on your code, but I noticed that Twisted's default
logging format changed with the release of 8.0 to be HH:MM:SS, so you
may just want to upgrade. Also, I think it now uses the builtin python
logging module, so changes to the format might now be easier.

Cameron




More information about the Twisted-Python mailing list