This patch set rebases and extends some earlier work on logging. Stephen Hemminger (5): eal: unify logging code for FreeBsd and Linux eal: turn off getopt_long error message during eal_log_level eal: skip stdio on console logging eal: move logging initialization earlier eal: add option to put timestamp on console output
.../freebsd_gsg/freebsd_eal_parameters.rst | 32 +++++++ doc/guides/linux_gsg/linux_eal_parameters.rst | 5 + lib/eal/common/eal_common_options.c | 6 ++ lib/eal/common/eal_internal_cfg.h | 3 + lib/eal/common/eal_options.h | 2 + lib/eal/freebsd/eal.c | 39 +++++--- lib/eal/linux/eal.c | 48 +++++----- lib/eal/linux/eal_log.c | 61 ------------ lib/eal/linux/meson.build | 1 - lib/eal/unix/eal_log.c | 93 +++++++++++++++++++ lib/eal/unix/meson.build | 1 + lib/eal/windows/eal.c | 3 + 12 files changed, 194 insertions(+), 100 deletions(-) delete mode 100644 lib/eal/linux/eal_log.c create mode 100644 lib/eal/unix/eal_log.c -- 2.39.2