[dpdk-dev] [PATCH] log: support custom log function

Stephen Hemminger stephen at networkplumber.org
Fri Feb 5 17:10:56 CET 2021


On Fri, 5 Feb 2021 12:55:48 +0100
David Marchand <david.marchand at redhat.com> wrote:

> On Fri, Feb 5, 2021 at 12:25 PM Li Feng <fengli at smartx.com> wrote:
> >
> > 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.


More information about the dev mailing list