On Tue, Nov 26, 2024 at 09:57:11PM +0100, William Lallemand wrote:
> 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.

Ah I didn't notice. Probably that it's just another syscall again. And
maybe instead we could directly use that FD with our regular send path.
Just guessing.

Willy


Reply via email to