formatting time as milliseconds in logging module

Stefan Behnel behnel_ml at dvs1.informatik.tu-darmstadt.de
Tue Oct 19 05:39:04 EDT 2004


Hi!

The logging module nicely prepends each line with a formatted date.

However, I'm not interested in the actual date but only in the number of 
milliseconds that passed since the start of the program. What is the best 
way of doing that?

Thanks,
Stefan



More information about the Python-list mailing list