From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.228.170]) by dpdk.org (Postfix) with ESMTP id 4B534C410 for ; Fri, 13 Nov 2015 20:16:49 +0100 (CET) Received: by mail.mhcomputing.net (Postfix, from userid 1000) id C839A1A8; Fri, 13 Nov 2015 14:16:48 -0500 (EST) Date: Fri, 13 Nov 2015 14:16:48 -0500 From: Matthew Hall To: Bruce Richardson Message-ID: <20151113191648.GG25051@mhcomputing.net> References: <1447397258-27233-1-git-send-email-mhall@mhcomputing.net> <1447397258-27233-3-git-send-email-mhall@mhcomputing.net> <20151113114402.GB15612@bricha3-MOBL3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151113114402.GB15612@bricha3-MOBL3> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 2/6] rte_log.h: add detailed log levels RTE_LOG{FINE, FINER, FINEST} 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: Fri, 13 Nov 2015 19:16:49 -0000 On Fri, Nov 13, 2015 at 11:44:03AM +0000, Bruce Richardson wrote: > Why 11 log levels - it seems an odd number? > Also, not sure about the {fine, finer, finest} names. My thinking would be to > just start numbering them after DEBUG, so RTE_LOG_L9, RTE_LOG_L10 etc., which > would allow us to add on an arbitrary number of extra log levels as needed. > > /Bruce I based it on this, it worked very well for me in the past. https://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html But happy to name them anything people want and have any number of them people want. I am not religious about the details, just want the feature. Matthew.