[PATCH v3] log: add timestamp for log

Stephen Hemminger stephen at networkplumber.org
Sat Mar 4 17:04:41 CET 2023


On Sat,  4 Mar 2023 16:14:21 +0800
luzhipeng <luzhipeng at cestc.cn> wrote:

> From: Zhipeng Lu <luzhipeng at cestc.cn>
> 
> add timestamp for log
> 
> Signed-off-by: Zhipeng Lu <luzhipeng at cestc.cn>

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 similar patch that never made it in that did this.
https://patchwork.dpdk.org/project/dpdk/patch/20200814173441.23086-1-stephen@networkplumber.org/



More information about the dev mailing list