Logging Date/Time Format
robert.rawlins at thinkbluemedia.co.uk
Mon Mar 10 11:49:37 CET 2008
I'm using the python logging module, however I'm not happy with the current
date/time format which is used to write the timestamp into the log file. I
need the logger to write the stamp without the milliseconds appended too it.
This is because I use a 3rd party application to parse the logs at a later
date as a CSV and the comma separating the milliseconds throws things out.
I've been looking through the API documentation but couldn't see any decent
method for doing so.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list