Hi, On Tue, Nov 26, 2024 at 09:44:46PM +0100, Willy Tarreau wrote: > > > > This is interesting. I did not yet look into how exactly it works, but > > perhaps this would also enabled structured logging with systemd-journald, > > i.e. this issue: https://github.com/haproxy/haproxy/issues/771? > > Hmmm possibly. I don't even remember that issue and I suspect I missed > it. I'm not seeing anything controversial in it so it should at least > have got responses :-( >
I didn't see the issue either, but I'm seeing something controversial in it :-) I really don't want to bring back a dependency to libsystemd in HAProxy, so we'll need to reimplement sd_journal_send() if we want to implement this. https://www.freedesktop.org/software/systemd/man/latest/sd_journal_print.html https://systemd.io/JOURNAL_NATIVE_PROTOCOL/ Regards, -- William Lallemand