From: Rongyin <[email protected]>

Code Source From: Self Code

Description:

     Fix error log print time about openvswitch

Jira:  #[Optional]
市场项目编号(名称):[Optional]
---
 include/openvswitch/vlog.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/openvswitch/vlog.h b/include/openvswitch/vlog.h
index 476bf3d..58f1c44 100644
--- a/include/openvswitch/vlog.h
+++ b/include/openvswitch/vlog.h
@@ -63,8 +63,8 @@ enum vlog_level vlog_get_level_val(const char *name);
 /* Destinations that we can log to. */
 #define VLOG_DESTINATIONS                                                 \
     VLOG_DESTINATION(SYSLOG, "ovs|%05N|%c%T|%p|%m")                        \
-    VLOG_DESTINATION(CONSOLE, "%D{%Y-%m-%dT%H:%M:%SZ}|%05N|%c%T|%p|%m")    \
-    VLOG_DESTINATION(FILE, "%D{%Y-%m-%dT%H:%M:%S.###Z}|%05N|%c%T|%p|%m")
+    VLOG_DESTINATION(CONSOLE, "%d{%Y-%m-%dT%H:%M:%SZ}|%05N|%c%T|%p|%m")    \
+    VLOG_DESTINATION(FILE, "%d{%Y-%m-%dT%H:%M:%S.###Z}|%05N|%c%T|%p|%m")
 enum vlog_destination {
 #define VLOG_DESTINATION(NAME, PATTERN) VLF_##NAME,
     VLOG_DESTINATIONS
-- 
1.8.3.1



_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to