diff mbox series

[ovs-dev,35/62] vlog.h: Fix error log print time about openvswitch

Message ID 20201228092520.11807-36-taoyunxiang@cmss.chinamobile.com
State Not Applicable
Headers show
Series DPDK Offload API to test | expand

Commit Message

Tao YunXiang Dec. 28, 2020, 9:24 a.m. UTC
From: Rongyin <rongyin@cmss.chinamobile.com>

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 mbox series

Patch

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