X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=python%2Fovs%2Fvlog.py;h=8447c0c2fe1e9b58c373e4b4b3aa9c9824cd4281;hb=ad8d7af730bf7d5cb1262e96c3ed6fa6bc7796d1;hp=14679d9cb1360f853a213e5d0a9c03dd576a7cc7;hpb=3200ed58055d05726d26f8b2d2fa9d45af68a223;p=sliver-openvswitch.git diff --git a/python/ovs/vlog.py b/python/ovs/vlog.py index 14679d9cb..8447c0c2f 100644 --- a/python/ovs/vlog.py +++ b/python/ovs/vlog.py @@ -1,5 +1,5 @@ -# Copyright (c) 2011, 2012 Nicira, Inc. +# Copyright (c) 2011, 2012, 2013 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -61,7 +61,7 @@ class Vlog: return dt = datetime.datetime.utcnow(); - now = dt.strftime("%Y-%m-%dT%H:%M:%S.%%iZ") % (dt.microsecond/1000) + now = dt.strftime("%Y-%m-%dT%H:%M:%S.%%03iZ") % (dt.microsecond/1000) syslog_message = ("%s|%s|%s|%s" % (Vlog.__msg_num, self.name, level, message))