ocharles / libsystemd-journal

Haskell bindings to libsystemd-journal
BSD 3-Clause "New" or "Revised" License
21 stars 14 forks source link

Source for `JournalField` being required uppercase? #29

Open isomorpheme opened 1 year ago

isomorpheme commented 1 year ago

The docs for mkJournalField say:

Construct a JournalField by converting to uppercase, as required by the journal.

But I couldn't find mention of this in systemd.journal-fields(7), at least for the case of using a custom, application-defined field. Does sending a custom journal field with a lowercase name trigger an error?

ocharles commented 11 months ago

I think this: https://www.freedesktop.org/software/systemd/man/sd_journal_add_match.html#