]> git.ipfire.org Git - thirdparty/systemd.git/commit
journalctl: add remote log dir to search path when --merge is passed (#4970)
authorMarcin Bachry <hegel666@gmail.com>
Fri, 23 Dec 2016 23:42:13 +0000 (00:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Dec 2016 23:42:13 +0000 (00:42 +0100)
commit574b77efadb285c5c4c2773b0241a05fe56450ed
treeb4ec15cccb3ca5f21046919cab2c7e7e6e80fbc1
parent357cd5563a40a65306901ea2c7cbf121244b76e9
journalctl: add remote log dir to search path when --merge is passed (#4970)

The journalctl man page says: "-m, --merge Show entries interleaved from all
available journals, including remote ones.", but current version of journalctl
doesn't live up to this promise. This patch simply adds
"/var/log/journal/remote" to search path if --merge flag is used.

Should fix issue #3618
src/journal/sd-journal.c