emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New (only?) extensible logging package for Emacs


From: Björn Bidar
Subject: Re: New (only?) extensible logging package for Emacs
Date: Wed, 15 Mar 2023 02:56:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Matúš Goljer <matus.goljer@gmail.com> writes:

>> 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.
>
> This is a good point and in fact I just used it in this way today.  I'm
> debugging some async code (via emacs-async) package and as you might
> imagine, it's rather complicated.  Logging to files made it much
> simpler, and I only had to add one line (the file appender)
>
>> In my case I'd love to feed logs into journald.
>
> What unit would it log to though?  Or can journald also ingest logs for
> non-unit source?  Since I imagine not many people run Emacs as a systemd
> service.  I'm not very knowledgable about this stuff :grin:

Slightly offtopic but  Emacs includes a systemd unit and can can notify
systemd when startup finishes or shutdown begins.

When logging into journal deciphering from which package by adding meta
data to the logs could be very handy.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]