On Thu, Apr 17, 2014 at 10:17:28PM +0200, Miloslav Trmač wrote:> mechanism to synchronize state, the proposed use of HTTP will be *losing
> 2014-04-16 19:08 GMT+02:00 Chris Adams <firstname.lastname@example.org>:
> > It would be good if systemd could
> > use or extend an existing logging protocol, rather than invent yet
> > another method.
> Yes. Going by the feature page and from what I can see from
> journal-remote.c, because Transfer-Encoding: chunked does not require
> application-level acknowledgment from the recipient, and there is no other
There's another mechanism to synchronize state: the server replies with
202 accepted after it has successfully parsed and saved the transmission to
disk. The client can send each journal entry as a single POST upload
(using the same connection, so it's not terrible inefficient).