[ovs-dev] [PATCH] vlog: Fix formatting of milliseconds in Python log messages.

Ben Pfaff blp at nicira.com
Tue Sep 17 17:05:59 UTC 2013


On Tue, Sep 17, 2013 at 09:59:58AM -0700, Gurucharan Shetty wrote:
> On Mon, Sep 16, 2013 at 3:15 PM, Ben Pfaff <blp at nicira.com> wrote:
> > Commit 2b31d8e713de7 (vlog: Report timestamps in millisecond resolution in
> > log messages.) introduced milliseconds to log messages by default, but the
> > Python version did not ensure that milliseconds were always formatted with
> > 3 digits, so 3.001 was formatted as "3.1" and 3.012 as "3.12", and so on.
> > This commit fixes the problem.
> 
> I see that the code change below behaves the way the commit message
> intends it to.
> So this looks good to me.

Thanks a lot.  I applied this to master.



More information about the dev mailing list