From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 5F43C2A5B for ; Fri, 12 Feb 2016 18:58:20 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id c200so31749917wme.0 for ; Fri, 12 Feb 2016 09:58:20 -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:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=jky8yWXg1uspb13C0G6nuxWM9okrbOhRpsHIHxD3VgI=; b=B50h70MMyndO+uBghLRB+NEVGcvL/A3kXshuybf9IKvi8DUFcp8GHMuTjYOl85Gb7B v23gZhZ29K6yBmcANh73zi9zBJuMmCtzEEXqh3dLTstiAR7T8YL6us5SOlB/p1kjaJRw DVsbGk8oUFSM6ZnE2/bE24CSzs+aRIzYA9WFOS2+0lnh8OxuhxeY4e0oMnkhl/TA2tcv 89XMa7K+dv90DbBvYkIi3tgI2JsfR7jNgO+3rH/nVw3bAMI6iuehB5hvMoEMPf4nClNK mtT6VB4MednC/bYwkIbDzzdj1CLWMpgdejShyRgnPI28cMVbRxeNLZBPjmx2nIXt8H/1 Mt/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=jky8yWXg1uspb13C0G6nuxWM9okrbOhRpsHIHxD3VgI=; b=BWKMbCtLgi8CNeqTMzx+TZP03oih+w8tcYZs4xLa09+iW1r8FiVjgbbUxn3ptiYR+l FOye2XYPrJAQHsMGgPohHy5MzakWi49gf26h5mdWUTqrOrG56vnsZ2YqCnquPUAx3P9z ofnEHoqnC6G4QMSV0LA3U6n2oGd/NQkk+D0vpBYjse/DHOsZ13vWE7hn/2L0DsGfOaMv cEHouHctZctfajDUQuV+TQi7r9IS06yfSSc51i7mP08aMbfrf13DAqAz6bD1mgtLCLM6 zUeTB7k3R4+QyM/hYG8sX6+PPNSHFKL8lF7py4rIRRD2pMyCmQyWG0ksVRXAA0lCP3YI mHLA== X-Gm-Message-State: AG10YOTC3O1g2DiwuKoA6LLv2OselgR9BVv5bGIWc5JB2SxpSpzZlPwAXevtwUWu/Rp1e6MC X-Received: by 10.194.209.204 with SMTP id mo12mr3286973wjc.69.1455299900170; Fri, 12 Feb 2016 09:58:20 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id i1sm13018087wjs.45.2016.02.12.09.58.19 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 12 Feb 2016 09:58:19 -0800 (PST) From: Thomas Monjalon To: sergio.gonzalez.monroy@intel.com, anatoly.burakov@intel.com, david.marchand@6wind.com Date: Fri, 12 Feb 2016 18:56:49 +0100 Message-ID: <1928276.P2Lqin6BEp@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1441914050-43168-1-git-send-email-keith.wiles@intel.com> References: <1441914050-43168-1-git-send-email-keith.wiles@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal:Change log output to DEBUG instead of INFO 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, 12 Feb 2016 17:58:20 -0000 Sergio, Anatoly, David, It is not so obvious to decide the log level. Please comment or ack. 2015-09-10 14:40, Keith Wiles: > When log level is set to 7 (INFO) these messages are still displayed > and should be set to DEBUG. > > Signed-off-by: Keith Wiles > --- > lib/librte_eal/common/eal_common_memory.c | 2 +- > lib/librte_eal/common/eal_common_timer.c | 2 +- > lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/lib/librte_eal/common/eal_common_memory.c b/lib/librte_eal/common/eal_common_memory.c > index b647573..6155752 100644 > --- a/lib/librte_eal/common/eal_common_memory.c > +++ b/lib/librte_eal/common/eal_common_memory.c > @@ -139,7 +139,7 @@ rte_eal_memdevice_init(void) > int > rte_eal_memory_init(void) > { > - RTE_LOG(INFO, EAL, "Setting up physically contiguous memory...\n"); > + RTE_LOG(DEBUG, EAL, "Setting up physically contiguous memory...\n"); > > const int retval = rte_eal_process_type() == RTE_PROC_PRIMARY ? > rte_eal_hugepage_init() : > diff --git a/lib/librte_eal/common/eal_common_timer.c b/lib/librte_eal/common/eal_common_timer.c > index 72371b8..c4227cd 100644 > --- a/lib/librte_eal/common/eal_common_timer.c > +++ b/lib/librte_eal/common/eal_common_timer.c > @@ -81,6 +81,6 @@ set_tsc_freq(void) > if (!freq) > freq = estimate_tsc_freq(); > > - RTE_LOG(INFO, EAL, "TSC frequency is ~%" PRIu64 " KHz\n", freq / 1000); > + RTE_LOG(DEBUG, EAL, "TSC frequency is ~%" PRIu64 " KHz\n", freq / 1000); > eal_tsc_resolution_hz = freq; > } > diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c b/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c > index 0e6c48a..e0c13de 100644 > --- a/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c > +++ b/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c > @@ -904,7 +904,7 @@ pci_vfio_enable(void) > > /* return 0 if VFIO modules not loaded */ > if (module_vfio_type1 == 0) { > - RTE_LOG(INFO, EAL, "VFIO modules not all loaded, " > + RTE_LOG(DEBUG, EAL, "VFIO modules not all loaded, " > "skip VFIO support...\n"); > return 0; > } >