From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8E45343D18; Thu, 21 Mar 2024 18:07:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C6A142830; Thu, 21 Mar 2024 18:07:03 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 9E099427E1 for ; Thu, 21 Mar 2024 18:07:01 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id ED7ED20B74C0; Thu, 21 Mar 2024 10:07:00 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com ED7ED20B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1711040820; bh=fLOw3K2sORASmFfJ5/vL/ctI9lcSZU0rdiN3NW3r9EM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QY5mU2NSvUPuLPwnSDnjELDGS6yIjWNZaRvrtPq6F9wpKNDBP2ty4/DCpHxJCqOcY UmdqISfHgCZGjrk/oM/Wfelk1FfpDV02L1PQ/NGPPI9bwNEj4MOUqSplm70FihtBCZ Icjd5L/kwl5wdXupSuwurxRp4jmgY+8+J+RBwZas= Date: Thu, 21 Mar 2024 10:07:00 -0700 From: Tyler Retzlaff To: Stephen Hemminger Cc: dev@dpdk.org Subject: Re: [PATCH v10 07/10] eal: allow user to set default log stream before init Message-ID: <20240321170700.GC27371@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20200814173441.23086-1-stephen@networkplumber.org> <20240321161146.340421-1-stephen@networkplumber.org> <20240321161146.340421-8-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240321161146.340421-8-stephen@networkplumber.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Mar 21, 2024 at 09:00:23AM -0700, Stephen Hemminger wrote: > It is useful for application to be able to set the default log > stream before call rte_eal_init(). This makes all messages go > to the new default. > > For example, to skip using syslog; just doing > rte_openlog_stream(stderr); > > There is no reason for helper command line applications to clutter > syslog with messages. > > Signed-off-by: Stephen Hemminger > --- Acked-by: Tyler Retzlaff