From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id 6B48D5A0F for ; Fri, 5 Jun 2015 12:01:23 +0200 (CEST) Received: by wifx6 with SMTP id x6so15097092wif.0 for ; Fri, 05 Jun 2015 03:01:23 -0700 (PDT) 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=XBm+hOtZwzJ9mUTHsPJB9bFTf3iDWZGlbcsjQlTCYcY=; b=CFnCAgKNAeb+vNVigtGVpuGA4xljUTyeScJbHM/6iZIUsFbOZkREYuXDSqh96PKkWq I070FFbJHlABjNBxZwxQU+ma6I/TA64ZgDP+oIeRqyU1PUML3gLW+1S53pcw1Kwlme5O 1Dg0JdFWz+IATnefbLWjLQNB/uyV3vW5oIJJNcL/carqeqMCOflKHEUC6wBaACYcW4vF rImWbzEAN/fUWajHtPgD9+LKQpE8UjtH+6WHyE0KBCj3Ur4f8Rt/qVjmkJAxAxuCfhPh 4RBwXFbjjXpb6D4b1fQ0Okm35WcqWTRenQ1i3n5eZpft98rhC0/yLuj/6EHp50evm30Z O7IA== X-Gm-Message-State: ALoCoQlfvFpMy5LVYMSbOGgMKafmZ1fLMsIQ+syVfGI9GjZC4Kl+iGPoPOwgfIJyYaG6XiJgDLM6 X-Received: by 10.194.24.70 with SMTP id s6mr5051621wjf.25.1433498483282; Fri, 05 Jun 2015 03:01:23 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id um5sm9775701wjc.1.2015.06.05.03.01.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jun 2015 03:01:22 -0700 (PDT) From: Thomas Monjalon To: "Wiles, Keith" Date: Fri, 05 Jun 2015 12:00:30 +0200 Message-ID: <4143606.5Er6ccdYXp@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] The use of --log-level and its default state 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, 05 Jun 2015 10:01:23 -0000 2015-05-27 15:10, Wiles, Keith: > I would like to have the log-level default changed to not log everything, > but the user needs to enable the log messages if he needs to see more > information. Normally applications or systems are not so verbose, but if > needed the user enables the verbose or debug messages. > > Can we change the default logs and messages to be non-verbose instead? Do you mean changing this line? /* default value from build option */ internal_cfg->log_level = RTE_LOG_LEVEL; It means using the most verbose level available in the build. Maybe we should set RTE_LOG_NOTICE or RTE_LOG_WARNING, However, there is already --log-level for the user and rte_set_log_level() for the application developper. So this default log level is only used for DPDK trials and development. Probably that being verbose is a good option for such cases?