Stephen Hemminger <step...@networkplumber.org> 于2021年2月6日周六 上午12:11写道: > > On Fri, 5 Feb 2021 12:55:48 +0100 > David Marchand <david.march...@redhat.com> wrote: > > > On Fri, Feb 5, 2021 at 12:25 PM Li Feng <fen...@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. As Dmitry Kozlyuk said, FILE* is convenient for the C/libc, but not for other languages. C++ standard IO stream is the case.
- [dpdk-dev] [PATCH] log: support custom log function Li Feng
- Re: [dpdk-dev] [PATCH] log: support custom log func... David Marchand
- Re: [dpdk-dev] [PATCH] log: support custom log ... Stephen Hemminger
- Re: [dpdk-dev] [PATCH] log: support custom ... Feng Li
- Re: [dpdk-dev] [PATCH] log: support custom log ... Feng Li
- Re: [dpdk-dev] [PATCH] log: support custom ... Dmitry Kozlyuk
- Re: [dpdk-dev] [PATCH] log: support custom ... Stephen Hemminger
- Re: [dpdk-dev] [PATCH] log: support custom log func... Feng Li
- [dpdk-dev] [PATCH v2] log: support custom log funct... Li Feng
- Re: [dpdk-dev] [PATCH v2] log: support custom l... Dmitry Kozlyuk
- Re: [dpdk-dev] [PATCH v2] log: support cust... Feng Li
- Re: [dpdk-dev] [PATCH v2] log: support ... Dmitry Kozlyuk