DPDK usage discussions
 help / color / mirror / Atom feed
From: John Ousterhout <ouster@cs.stanford.edu>
To: users@dpdk.org
Subject: [dpdk-users] Redirect DPDK log?
Date: Wed, 14 Sep 2016 14:08:27 -0700	[thread overview]
Message-ID: <CAGXJAmzK_7PxjV-ic9qYrBbTAHv04=kBnWcvBr17btuKBw2ObA@mail.gmail.com> (raw)

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?

             reply	other threads:[~2016-09-14 21:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14 21:08 John Ousterhout [this message]
2016-09-14 21:24 ` Matthew Hall
2016-09-15  0:52   ` John Ousterhout
2016-09-15  6:49     ` Thomas Monjalon
2016-09-15 18:06     ` Александр Киселев

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGXJAmzK_7PxjV-ic9qYrBbTAHv04=kBnWcvBr17btuKBw2ObA@mail.gmail.com' \
    --to=ouster@cs.stanford.edu \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).