[PATCH v8 0/5] Logging timestamp and related patches
Stephen Hemminger
stephen at networkplumber.org
Mon Mar 18 19:30:01 CET 2024
Improvements and unification of logging library (for 24.07 release).
This is update to earlier patch set.
v8 - rebase to current code base where logging in in lib/log
use stdio for log timestamp
initialization changes (setup log earlier)
Stephen Hemminger (5):
log: unify logging code
eal: make eal_log_level_parse common
eal: allow user to set default log stream before init
eal: add option to put timestamp on console output
eal: initialize logging before plugins
app/dumpcap/main.c | 3 +
app/pdump/main.c | 3 +
app/proc-info/main.c | 3 +
app/test/test_eal_flags.c | 9 +++
doc/guides/linux_gsg/linux_eal_parameters.rst | 27 ---------
doc/guides/prog_guide/log_lib.rst | 28 +++++++++-
lib/eal/common/eal_common_options.c | 56 ++++++++++++++++++-
lib/eal/common/eal_options.h | 3 +
lib/eal/freebsd/eal.c | 50 +++--------------
lib/eal/linux/eal.c | 55 +++---------------
lib/eal/unix/eal_unix_log.c | 0
lib/eal/windows/eal.c | 35 ------------
lib/log/log.c | 6 ++
lib/log/log_freebsd.c | 12 ----
lib/log/log_internal.h | 11 ++++
lib/log/{log_linux.c => log_unix.c} | 36 +++++++++++-
lib/log/log_windows.c | 6 ++
lib/log/meson.build | 12 ++--
lib/log/version.map | 2 +
19 files changed, 184 insertions(+), 173 deletions(-)
create mode 100644 lib/eal/unix/eal_unix_log.c
delete mode 100644 lib/log/log_freebsd.c
rename lib/log/{log_linux.c => log_unix.c} (58%)
--
2.43.0
More information about the dev
mailing list