From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Koch Newsgroups: gmane.emacs.devel Subject: Re: New (only?) extensible logging package for Emacs Date: Sat, 11 Mar 2023 17:27:52 +0200 (EET) Message-ID: <1624013056.316850.1678548472770@office.mailbox.org> References: <875yb7tnyd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34922"; mail-complaints-to="usenet@ciao.gmane.io" To: =?UTF-8?Q?Mat=C3=BA=C5=A1_Goljer?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 11 16:29:05 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pb19c-0008nq-Hu for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Mar 2023 16:29:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pb18d-0007Zd-7J; Sat, 11 Mar 2023 10:28:03 -0500 Original-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 1pb18b-0007ZU-Uy for emacs-devel@gnu.org; Sat, 11 Mar 2023 10:28:02 -0500 Original-Received: from mout-p-201.mailbox.org ([80.241.56.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pb18a-0001oe-6t for emacs-devel@gnu.org; Sat, 11 Mar 2023 10:28:01 -0500 Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4PYmyK2kQBz9sgw; Sat, 11 Mar 2023 16:27:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=koch.ro; s=MBO0001; t=1678548473; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wkzVqS4R08BEoLUAEJX6uBV6G/D6TGr9mvfBHZJSuoQ=; b=0yhJ9NGkznkPa/neWyFN4606tvN0DTXYnsvHnrUx4XtYgp0+cIoKwkCCjG5HDKby5WCvTm ANPsSh+fGX8rk8HcBq0ClanmQmrEBtbceToQF4xyd6iMQSrbr5hVUw//pV7OrMIf5qkBqY qE/SD6rNH8zmdwRHafWaYCIqONKyRJZc76o2AGQS8tjrvKTmXN/wt/M0G75Y7Im5o7KpUa EstQxkz5x3NLp6PenCEwS10iY9rZ9UHIrTht+AmmiFhNAJum7GN8+lSPDvbfWoE/Emp2Yz hP2VptBVkc3Sx41NqMKqx0j0Slm0QsAnHsmcuvJ1AUjfqP96d5C47Kd9bBB7Lg== In-Reply-To: <875yb7tnyd.fsf@gmail.com> X-Priority: 3 Importance: Normal Received-SPF: pass client-ip=80.241.56.171; envelope-from=thomas@koch.ro; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304324 Archived-At: Such a logging library might also be helpful in interactive use when debugging problems that cause Emacs to freeze or (god forbid) to segfault. In that case I could still find log messages outside of Emacs. Furthermore a standard logging library would help to fine-tune logging levels during debugging work for different parts of Emacs without digging how (or whether) each part allows such tuning. In my case I'd love to feed logs into journald.