[dpdk-users] Redirect DPDK log?

Matthew Hall mhall at mhcomputing.net
Wed Sep 14 23:24:57 CEST 2016


On Wed, Sep 14, 2016 at 02:08:27PM -0700, John Ousterhout wrote:
> Is there a mechanism in DPDK that can interpose on the log output? I see
> the function rte_openlog_stream to specify a different FILE* for output,
> but that isn't quite general enough. I'd like for a method in my
> application to receive all of the log messages, so I can wrap them
> appropriately and then add them to an application-specific log. Does such a
> hooking mechanism exist?

http://www.gnu.org/software/libc/manual/html_node/String-Streams.html

Matthew.


More information about the users mailing list