Re: Minor mistake in SRFI text
Göran Weinholt 31 Mar 2023 18:33 UTC
Hello,
I agree with Vasilij, the key should be MESSAGE.
@Lassi: Please update the Scheme registry, this mistake is copied there.
(The wrong name comes from the syslog RFC, but it's not used in the
wire protocol. Journald calls it MESSAGE.)
/Göran
"Arthur A. Gleckler" <xxxxxx@speechcode.com> writes:
> Thanks, Vasilij. Göran, would you please take a look at this?
>
> Thanks!
>
> On Wed, Mar 29, 2023 at 11:20 AM Vasilij Schneidermann <xxxxxx@vasilij.de> wrote:
>
> Hello,
>
> I've read the text of the SRFI document again and noticed one
> discrepancy. The key `MESSAGE` is mentioned 3 times in the text and used
> in the sample implementation (and the two SRFI implementations in Loko
> and STKlos), however the table "Log message keys" refers to a mandatory
> key known as `MSG` (defined as "free-form message as a string"). This
> seems to be a copy-paste error and should probably be corrected to be
> `MESSAGE` instead, lest anyone takes this error seriously and uses the
> key `MSG` instead of `MESSAGE` when implementing the SRFI independently.
>
> Vasilij