[PATCH v10 07/10] eal: allow user to set default log stream before init
Tyler Retzlaff
roretzla at linux.microsoft.com
Thu Mar 21 18:07:00 CET 2024
On Thu, Mar 21, 2024 at 09:00:23AM -0700, Stephen Hemminger wrote:
> It is useful for application to be able to set the default log
> stream before call rte_eal_init(). This makes all messages go
> to the new default.
>
> For example, to skip using syslog; just doing
> rte_openlog_stream(stderr);
>
> There is no reason for helper command line applications to clutter
> syslog with messages.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
More information about the dev
mailing list