[systemd-devel] [RFC PATCH 1/3] journal: add sd_journal_add_file

Kay Sievers kay at vrfy.org
Mon Mar 18 18:49:13 PDT 2013


On Tue, Mar 19, 2013 at 2:29 AM, Zbigniew Jędrzejewski-Szmek
<zbyszek at in.waw.pl> wrote:
> ---
> A serie composed of three patches:
> 1. this one: make sd_journal_add_file available to the wide public
> 2. second one: allow opening of the journal in "stub" mode, without
>    any files
> 3. third one: journalctl --file path.journal can be used to look
>    at just one file.

We need to be very careful here what we export. This opens the path to
be used as a generic backend and all the promises public interfaces
make come with that too.

We should really NOT try to be the backing store for all sorts of
third-party tools here.

We need the flexibility in the future to change and improve things
here, which gets really hard when they are used outside of what all
that is meant to be used for.

> This has been requested before, and seems useful.

Well, people ask for a pony all the time. :)

Kay


More information about the systemd-devel mailing list