Re: [Twisted-Python] Problem Changing Time Format of a Log
Hi Zookoo and Cameron:
On May 2, 2008, at 9:54 AM, Andrew Francis wrote:
Does this mean that the the method raised an
exception >but the twisted logging infrastructure isn't telling >you what the exception was?
I've done this successfully:
Thanks for the pointer. A part of my problem was that I forgot to import datetime. Anyhow, I re-read the documentation and solved my problem by doing:
log.FileLogObserver.timeFormat = '%Y/%m/%d %H:%M:%d"
However as Cameron suggested, I will upgrade to Twisted 8 when it is convenient.
____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ