DPDK usage discussions
 help / color / mirror / Atom feed
From: longtb5@viettel.com.vn
To: <users@dpdk.org>
Subject: [dpdk-users] Logging with syslog
Date: Tue, 17 Jul 2018 11:10:09 +0700 (ICT)	[thread overview]
Message-ID: <000001d41d84$fcdb0e10$f6912a30$@viettel.com.vn> (raw)

Hi,

I'm trying to improve the logging system for my application. From my
understanding, the default log_stream is fopencookie()'d to enable sending
logs to syslog as well. However, for my use case, logs should always be sent
to syslog, but not always written to stdout as it would clog up my command
line interface (I'm using rte_cmdline).

Is there a way to achieve this with available DPDK logging utilities via
some kind of configuration? Or must I manually create another log_stream
with fopencookie()?

Thanks and best regards,
-BL 

             reply	other threads:[~2018-07-17  4:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17  4:10 longtb5 [this message]
2018-07-17 12:37 longtb5

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='000001d41d84$fcdb0e10$f6912a30$@viettel.com.vn' \
    --to=longtb5@viettel.com.vn \
    --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).