From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 29 Jun 2021 07:13:42 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ly646-0007IR-Sl for lore@lore.pengutronix.de; Tue, 29 Jun 2021 07:13:42 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ly646-00022a-HE; Tue, 29 Jun 2021 07:13:42 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ly607-0005lZ-KW; Tue, 29 Jun 2021 07:09:35 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ly607-0005dc-4t; Tue, 29 Jun 2021 07:09:35 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ly607-00Aarp-22; Tue, 29 Jun 2021 07:09:35 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Tue, 29 Jun 2021 07:09:35 +0200 Message-Id: <20210629050935.2524954-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210623073309.23058-5-ada@thorsis.com> References: <20210623073309.23058-5-ada@thorsis.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] networkmanager: Make "more logging" optional X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Alexander Dahl Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as fe852c3f4dc34d2e11c641092d19de0d2b3bd5fa. Michael [sent from post-receive hook] On Tue, 29 Jun 2021 07:09:34 +0200, Alexander Dahl wrote: > With build option "more_logging" set to false, it's not possible to > enable loglevel "debug" in /etc/NetworkManager/NetworkManager.conf > > Signed-off-by: Alexander Dahl > Message-Id: <20210623073309.23058-5-ada@thorsis.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/networkmanager.in b/rules/networkmanager.in > index 6c68d40cc2d6..dae60a0c8d42 100644 > --- a/rules/networkmanager.in > +++ b/rules/networkmanager.in > @@ -104,6 +104,12 @@ config NETWORKMANAGER_POLKIT > bool > prompt "polkit support" > > +config NETWORKMANAGER_MORE_LOGGING > + bool > + prompt "more logging" > + help > + Allows debug log level in NetworkManager.conf > + > endif > > menu "networkmanager plugins " > diff --git a/rules/networkmanager.make b/rules/networkmanager.make > index c39179f5b5d3..022ed7178997 100644 > --- a/rules/networkmanager.make > +++ b/rules/networkmanager.make > @@ -64,7 +64,7 @@ NETWORKMANAGER_CONF_OPT = \ > -Dmodem_manager=$(call ptx/truefalse,PTXCONF_NETWORKMANAGER_WWAN) \ > -Dmodify_system=false \ > -Dmore_asserts=no \ > - -Dmore_logging=false \ > + -Dmore_logging=$(call ptx/truefalse,PTXCONF_NETWORKMANAGER_MORE_LOGGING) \ > -Dnetconfig=false \ > -Dnm_cloud_setup=false \ > -Dnmcli=$(call ptx/truefalse,PTXCONF_NETWORKMANAGER_NMCLI) \ _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de