chiark / gitweb /
journal-remote: allow splitting incoming logs by source host
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 22 Jun 2014 17:36:31 +0000 (13:36 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Jul 2014 02:31:41 +0000 (22:31 -0400)
commit8201af08fa09c2bd0f005fbe262f27e2c5bd2d86
tree548dba06347317740d4c236467615fa2ee4be450
parent24739b7b757d22a4b629d410a768e4e85fb02282
journal-remote: allow splitting incoming logs by source host

Previously existing scheme where the file name would be based on
the source was just too ugly and unpredicatable. Now there are
only two options:
  1. just one file (until rotation),
  2. one file per source host, using the hostname as filename part.
For the cases where the source is specified by the user, only
option one is allowed, and the full of the file must be specified.
man/systemd-journal-remote.xml
src/journal-remote/journal-gatewayd.c
src/journal-remote/journal-remote-parse.c
src/journal-remote/journal-remote-parse.h
src/journal-remote/journal-remote-write.h
src/journal-remote/journal-remote.c
src/journal-remote/journal-remote.conf.in
src/journal-remote/journal-upload.c
src/journal-remote/microhttpd-util.c
src/journal-remote/microhttpd-util.h