Re: [dpdk-dev] [PATCH] log: support custom log function
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-02-05 16:11:10
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-02-05 16:11:10
On Fri, 5 Feb 2021 12:55:48 +0100 David Marchand [off-list ref] wrote:
On Fri, Feb 5, 2021 at 12:25 PM Li Feng [off-list ref] wrote:quoted
Currently, the dpdk log is out to stdout/stderr and syslog. We should support to output the log to another please, e.g. file or glog.Why not use rte_openlog_stream() / rte_log_get_stream() ?
Agree, I have used rte_openlog_stream several times to do this.