On Thu, Apr 17, 2014 at 10:17:28PM +0200, Miloslav Trmač wrote: > 2014-04-16 19:08 GMT+02:00 Chris Adams <linux@xxxxxxxxxxx>: > > > 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 > mechanism to synchronize state, the proposed use of HTTP will be *losing > data*! 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). Zbyszek -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct