[PATCH v3] log: add timestamp for log

2023-03-04 Thread luzhipeng
From: Zhipeng Lu add timestamp for log Signed-off-by: Zhipeng Lu --- lib/eal/common/eal_common_log.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/lib/eal/common/eal_common_log.c b/lib/eal/common/eal_common_log.c index bd7b188ceb..46dbd4b7bf 1006

Re: [PATCH v3] log: add timestamp for log

2023-03-04 Thread Stephen Hemminger
On Sat, 4 Mar 2023 16:14:21 +0800 luzhipeng wrote: > From: Zhipeng Lu > > add timestamp for log > > Signed-off-by: Zhipeng Lu Good idea but: - it needs to be optional - timestamp only makes sense on the terminal (stdout) log stream syslog/journal already have timestamp I did a sim