From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oIYcOhBUVWV3xgAA9RJhRA:P1 (envelope-from ) for ; Thu, 16 Nov 2023 00:28:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oIYcOhBUVWV3xgAA9RJhRA (envelope-from ) for ; Thu, 16 Nov 2023 00:28:17 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D15E633D0F for ; Thu, 16 Nov 2023 00:28:16 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wmeyer.eu header.s=mail header.b="fMe/fGQt"; dmarc=pass (policy=none) header.from=wmeyer.eu; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700090896; a=rsa-sha256; cv=none; b=lCmrGeJt85pAmST7VOUkD+uLcjiLMX5sP6iGDD6Mg8FpYEupwPbBdG6ZES8XnmlmVvCYe/ czwi8RK+5r62Tkaygc4yFGXZ8zLodD3w6/A9rpPBJvBqrm6AsaZVeyzABDmQZ8MZauctvX HBKU6RnZtVV5+dwQY3KA50b0wMeqTit8pgOnLCoKWThhGrMc/nvv4/qRLBsX0BGBYhkytz OGDLipNzrhga0yWdGNYWfkCB/QGtQ4U1IyGEpyT1fbi9ZwMbIDe6InVhDN58ZswPMPlHe+ ZD/VBgOHpR27rLJM5QZnM3nPrfyNfe8CLPiQPr9BHe6i/xuw/HF6/ibT8iJnQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wmeyer.eu header.s=mail header.b="fMe/fGQt"; dmarc=pass (policy=none) header.from=wmeyer.eu; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700090896; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zbuAHjPzMGO3Hku698DpvSXwGRDVFTA7jUNvgoyYQM8=; b=Y+4FsIj5ZaSVcRLrU/WHNFqCTy4pxK2PEfwUh2LcRZXy9cDoOB64lkrxBvtDmh8fFtiRYi WFSo5adXVUdKAgLu4eC/y3e/QHMNu+ZU59tltMU3vTckFx0p7eboTnSaOPZV/vPmcURrp7 qnqVe1QfWDq2kj6P0S3KxT4pO4VtHFUUjZJ9bhosGa9/cwJ2ChJLHv01WRSXxCNfXRmWik DWs3CHeQJJSWKhVyCrVI5ryBjGiA+vswbeJ+AQUEeK+nSyPd/tER+9ght4fz2j9o3xjYOt m9vZVVzwLInySsIyG2fOJN5DUtilYsO8M/aIwJKOJfo22HEgvFzsGDW0CQfsBg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3PIO-0004c3-61; Wed, 15 Nov 2023 18:27:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3PIL-0004bd-17 for help-guix@gnu.org; Wed, 15 Nov 2023 18:27:41 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3PII-0000Nm-M1 for help-guix@gnu.org; Wed, 15 Nov 2023 18:27:40 -0500 References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1700090856; bh=zbuAHjPzMGO3Hku698DpvSXwGRDVFTA7jUNvgoyYQM8=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=fMe/fGQtcSasXQ3qeAYYAyAUmWGP3nHFOYvJZjAJpFKY5DD0ok32uNZqPs8ydXQTR L+bNBb9dmM4rA7Y1b0M0DqWZvY1t9isma8zhTkT5orlKgv18RyXwWCm/Kvipcz7OCr hZP7dfcuTTBocJHzZXauKll9QxX+lmKdzdX8/RX8= From: Wilko Meyer To: jgart Cc: help-guix@gnu.org Subject: Re: --debug LEVEL not documented in CLI Date: Thu, 16 Nov 2023 00:14:53 +0100 In-reply-to: Message-ID: <877cmi4mxk.fsf@wmeyer.eu> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=95.216.196.112; envelope-from=w@wmeyer.eu; helo=mail.wmeyer.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: D15E633D0F X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.00 X-Spam-Score: -9.00 X-TUID: hC8CByP4qm1t "jgart" writes: > WDYT I filed an issue[0] for this and attached a patch with a possible suggestion on how to improve the --debug as well as --verbosity help information on CLI as a first draft. It, with the patch applied, now reads: --debug=LEVEL produce debugging output at LEVEL, value must be an integer between 0 (more terse) and 5 (more verbose) for debug, and: -v, --verbosity=LEVEL use the given verbosity LEVEL, value must be either 0 (no output), 1 (quiet), 2 (quiet + download URLs) or 3 (build log on STDERR) for verbosity, which should probably suffice to choose an (more) appropriate debug/verbosity level when debugging from solely reading the help information. I tried to keep this as short as possible, a more detailed description of the debug levels would probably be feasible for the general guix documentation (also I'm not quite sure how to document them, e.g. what the exact differences between the five levels are, except that it gets more verbose, and when to choose which; maybe someone else is more knowledgable on this?). [0]: https://issues.guix.gnu.org/67215 -- Kind regards, Wilko Meyer w@wmeyer.eu