From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id 46CFA5901 for ; Sun, 14 Sep 2014 10:31:03 +0200 (CEST) Received: by mail.mhcomputing.net (Postfix, from userid 1000) id 4166880C764; Sun, 14 Sep 2014 01:36:09 -0700 (PDT) Date: Sun, 14 Sep 2014 01:36:09 -0700 From: Matthew Hall To: dev@dpdk.org Message-ID: <20140914083609.GA23464@mhcomputing.net> References: <1410683686-12389-1-git-send-email-mhall@mhcomputing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1410683686-12389-1-git-send-email-mhall@mhcomputing.net> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] librte_log: add function to retrieve log_level X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2014 08:31:03 -0000 On Sun, Sep 14, 2014 at 01:34:46AM -0700, Matthew Hall wrote: > Signed-off-by: Matthew Hall > --- > lib/librte_eal/common/eal_common_log.c | 7 +++++++ > lib/librte_eal/common/include/rte_log.h | 6 ++++++ > 2 files changed, 13 insertions(+) I forgot to mention in the comments, this patch is helpful when you want outside code to cooperate with and respect log levels set in DPDK. Then you can avoid using duplicate incompatible log code in the DPDK and non-DPDK parts of the app. Matthew.