From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=OrGL4fCDIE3YJFoJz35sa3pIvwe22am4VqZtLhjemR4=; b=DOJFqNCbPsCtH/JAH1Vs59PiLOx0vnH8pv5A3z2TRxTMur5Fhbz+wUhdBdpCqu/grK OzdfA8CUYsC4VrxExppoY8xwXoKSIAGVy34ZW1UmpZDqcF44JPfuv5fZFsXAvRrLJ9sy iusexjYlQmMwA4D05LvLlnbiwpwM6Jg/EyxuxwYopXbS6t2tKmMV/JAgC4QfKvj84mlH +2F9/ByRcKaKkkwldz7TBqznBwpiWOH2KTYMOlo200lhPCP54Y3fVDoQ+4K5rHHvGZ/Q VVx1lRgVq6LQ05nPKM8nYQlgpXzC51J8C5Q+26rvsSnknHVNcTDe8AkZR5jTlmBMCMni 25Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=OrGL4fCDIE3YJFoJz35sa3pIvwe22am4VqZtLhjemR4=; b=LVUTptG57SMYbA323PNekOfSq//hSwqkXYt0mZu5I3AXys+MdM+9ybJb6xiN6wba2x zpPX8dx0FW75+FnxcIdSs/1I9l2CDTVR2i2qc84NHddoQp05kLCTag7oB9FT7FjYG8GM Db4A5EJw38FUHFnjcMbV8gc1r5qllhlxgwUSLQ4rOH0F7vWFhbkXHGIuHjHItu/fXNmm +MF86VtrYAmk0ffv+KU0Eqq3qf2LwBtEIle6oYlPEpuOHcU6rcGB17O6lV0rU2EPOogN 5W4dSsVPU/j6jK/lqTDqzRe98YrfS+yhjfc09KmmBXQfbgcvTEqF3+N61TIPW3nlNVbV MizA== X-Gm-Message-State: AIkVDXIPcpAz2lav9fNgupFONWkzz7q1CM96arfMYIwp4BrXM5YGEErrbR0VqIpzSiprWAoh X-Received: by 10.223.170.5 with SMTP id p5mr96977wrd.112.1483630816067; Thu, 05 Jan 2017 07:40:16 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id c202sm4951479wmd.10.2017.01.05.07.40.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jan 2017 07:40:15 -0800 (PST) From: Thomas Monjalon To: Slawomir Mrozowicz , Declan Doherty Cc: dev@dpdk.org Date: Thu, 05 Jan 2017 16:40:14 +0100 Message-ID: <2615371.2k6WulVlxV@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1483635001-15473-2-git-send-email-slawomirx.mrozowicz@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 1/3] eal: add quiet mode to suppress log output to stdout X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2017 15:40:17 -0000 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).