]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: add sd_journal_open_files
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 5 Jun 2013 23:39:26 +0000 (19:39 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 10 Jun 2013 14:10:07 +0000 (10:10 -0400)
commit5302ebe15ff3a11eceb75e095e5a09d2a676de2b
treeaf3fe38ff0e433d824684e77840cbf00af7cf211
parent6eb7a9a0010d035e5bdbbf70227088ce02b2120e
journal: add sd_journal_open_files

This allows the caller to explicitly specify which journal files
should be opened. The same functionality could be achieved before
by creating a directory and playing around with symlinks. It
is useful to debug stuff and explore the journal, and has been
requested before.

Waiting is supported, the journal will notice modifications on
the files supplied when opening the journal, but will not add
any new files.
Makefile-man.am
man/sd_journal_open.xml
src/journal/journal-internal.h
src/journal/libsystemd-journal.sym
src/journal/sd-journal.c
src/systemd/sd-journal.h