Re: APIs for JournalD commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Do, 06.05.21 09:00, Andreas Krueger (Andreas.Krueger@xxxxxxxxxx) wrote:

> Hi Folks,
>
> I have to write some tests to ensure the functionality of JournalD,
> which is used by a project I'm working on. For this I've found the
> APIs defined in header file <systemd/sd-journal.h> that can be used
> for many of my issues, but there is a gap between what this header
> file offers and what can be done by command 'journalctl'. For
> example, for verifying the sealing I haven't found any corresponding
> API in the header file. As well as for rotating.
>
> So, is there somewhere a header file with the missing APIs? Or can
> verification (or rotation) be done only by command 'journalctl'?

Rotation can be triggered via a varlink API or via a UNIX process
signal. The varlink API is not officially documented, i.e. we don't
commit to API stability for it yet. The signal is documented on the
journald man page.

Verification is only available in journalctl.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux