From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109212 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: What does --errors and --noconsole do? Date: Wed, 4 Nov 2020 17:13:57 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5478375122324296934==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27362"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.36 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 04 17:15:35 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kaLRe-0006yI-G1 for gctc-ntg-context-518@m.gmane-mx.org; Wed, 04 Nov 2020 17:15:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ADC4F1A9BD7; Wed, 4 Nov 2020 17:13:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FPEyo2sBkjgP; Wed, 4 Nov 2020 17:13:56 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CEF7F1A9D6D; Wed, 4 Nov 2020 17:13:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 55A031A9CE7 for ; Wed, 4 Nov 2020 17:13:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WdtOz2s7Sp9d for ; Wed, 4 Nov 2020 17:13:54 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.49; helo=mail-wr1-f49.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Original-Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 91CFA1A9BD7 for ; Wed, 4 Nov 2020 17:13:54 +0100 (CET) Original-Received: by mail-wr1-f49.google.com with SMTP id w14so22627436wrs.9 for ; Wed, 04 Nov 2020 08:13:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=+nzFJIrSucIeLg6d4yEEbXiWWsPwd6tuRTiitjYW/XY=; b=rdWbP23QSOAh+LbvZA/10Fj2CPIL0xoY/Bf84QQ7fTnuMf4qx5Cp/+Mylzai0a7SfZ oF8reE/qP7AlZdMlHU3StKAiASNB8TaJBsCUARHzBEUleJKaxHffBL5YjIDNedXc1RPv WQWtD4UDx1acCZsZh01d9HPF5oqZGb4xNpkJMsvs1LbYbNS2YM6fSofD3oKhJ2yVFghT hN7GYm/iYqz6O/XLurf4UE3ZBbxqvyjMleTU3pWXePJ5NhpN/uxUNA/IDJ5UZMabqxfh xm3P84AenTyZ6XDT5Q6ZliyT5eDEufoI1UNVY3lGZIGPhCY2ZLfCSy+9wFyATO7KHzzJ Xb6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=+nzFJIrSucIeLg6d4yEEbXiWWsPwd6tuRTiitjYW/XY=; b=uKxs1t6Hf+EJHQ87CYSmlRJma6PzAxGNSgDZz/510RbGq3PR/fX2XW/e3gWW2Yv4k7 EombF8lwpqMiWMfSXD0yUttHillUQin4k2Qb62IWFHrWmA2f2e2bKXBjnMxCHKv2BBsK B1wrGbfbTCOuHh8Phsa7jeUiEDSs3wNQRpZEyOsVYVSNGK/ba/AKD+UsiqdQTbheELgG QkJ9+4klMHXJIttEygqYSbAlZVC6+8hLWssO+2Yae+QatWC8WcBBuGZogl8v+5fQWUwL 30PHyLHzH4x4M1f50y6ObFVeVpzUHdhpSOxadQ6xxKvblRLw++jNzlOr5h+PVm+Us5VZ LL1w== X-Gm-Message-State: AOAM530Hj817Ie+8KbAfD68PuixyLJYkFHB/LsvXVt6q5VJnaTFrziLT IQHRj7aUMBwIvWgmwaDXzpA= X-Google-Smtp-Source: ABdhPJzsJOX9nHl/s35b3u/Fs8pPqzmdpzd0vSiaL58dL/xaGlZX5j3Nk+R9WdPC/hlpLII0lHgnOQ== X-Received: by 2002:adf:e8d0:: with SMTP id k16mr32812903wrn.362.1604506434224; Wed, 04 Nov 2020 08:13:54 -0800 (PST) Original-Received: from [192.168.1.4] (dynamic-095-115-027-029.95.115.pool.telefonica.de. [95.115.27.29]) by smtp.gmail.com with ESMTPSA id v6sm3073939wrs.39.2020.11.04.08.13.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Nov 2020 08:13:53 -0800 (PST) In-Reply-To: Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109212 Archived-At: This is a multi-part message in MIME format. --===============5478375122324296934== Content-Type: multipart/alternative; boundary="------------C4CE41AE85DB4B4F43B1BCE2" Content-Language: en-US This is a multi-part message in MIME format. --------------C4CE41AE85DB4B4F43B1BCE2 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sylvain Hubert schrieb am 04.11.2020 um 15:53: > Dear List, > > I was reading workflow-mkiv > and have > found the '--errors' and '--noconsole' arguments which seemed quite > helpful since, according to the documentation, "show errors at the end > of a run" and "disables logging to the console" while "error reporting > mentioned in the previous section will never be silenced". But when I > run 'context --errors' for the following document > > \setuppagenumbering[footer] >     \starttext >     hi >     \stoptext > > the message > >     setup           > error in line 1, namespace 'pagenumbering', key > 'footer,' > > still lies in the middle of a bunch of messages and is not shown in > the end. When I add '--noconsole' to the arguments, the error > disappears along with all the other messages. --errors adds extra information to the log, try the following example with and without the option \usemodule[unknown] \starttext \stoptext Wolfgang --------------C4CE41AE85DB4B4F43B1BCE2 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Sylvain Hubert schrieb am 04.11.2020 um 15:53:
Dear List,

I was reading workflow-mkiv and have found the '--errors' and '--noconsole' arguments which seemed quite helpful since, according to the documentation, "show errors at the end of a run" and "disables logging to the console" while "error reporting mentioned in the previous section will never be silenced". But when I run 'context --errors' for the following document

    \setuppagenumbering[footer]
    \starttext
    hi
    \stoptext

the message

    setup           > error in line 1, namespace 'pagenumbering', key 'footer,'

still lies in the middle of a bunch of messages and is not shown in the end. When I add '--noconsole' to the arguments, the error disappears along with all the other messages.

--errors adds extra information to the log, try the following example with and without the option

\usemodule[unknown]

\starttext
\stoptext

Wolfgang

--------------C4CE41AE85DB4B4F43B1BCE2-- --===============5478375122324296934== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5478375122324296934==--