Milliseconds in logging format

Joan Miller peloko45 at gmail.com
Sun Jan 10 20:04:08 CET 2010


How the logging '%(asctime)s' [1] specifier to gets the millisecond
portion of the time if there is not a directive to get it from the
time module [2] ?


"The date format string follows the requirements of strftime()"
[1] http://docs.python.org/library/logging.html#basic-example

[2] http://docs.python.org/library/time.html#time.strftime



More information about the Python-list mailing list