From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 1/3] eal: add quiet mode to suppress log output to stdout Date: Thu, 05 Jan 2017 16:40:14 +0100 Message-ID: <2615371.2k6WulVlxV@xps13> References: <1480691702-4600-1-git-send-email-michalx.k.jastrzebski@intel.com> <1483635001-15473-1-git-send-email-slawomirx.mrozowicz@intel.com> <1483635001-15473-2-git-send-email-slawomirx.mrozowicz@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Slawomir Mrozowicz , Declan Doherty Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id D1E32214A for ; Thu, 5 Jan 2017 16:40:16 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id k184so292686822wme.1 for ; Thu, 05 Jan 2017 07:40:16 -0800 (PST) In-Reply-To: <1483635001-15473-2-git-send-email-slawomirx.mrozowicz@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-05 17:49, Slawomir Mrozowicz: > Add EAL option to suppresses all log output to stdout. > > Signed-off-by: Declan Doherty [...] > " --"OPT_LOG_LEVEL" Set default log level\n" > + " -s, --"OPT_LOG_STDOUT_SILENT" Silent mode, suppresses log " > + "output to stdout\n" How does it behave when the app configure a custom log function which prints to stdout? Generally speaking, we should stop adding such options in DPDK and move this kind of responsibility to the applications (providing some API and helpers).