[systemd-devel] How does journald talks to other services?

Lennart Poettering lennart at poettering.net
Fri Aug 20 09:52:25 UTC 2021


On Fr, 20.08.21 15:01, Nishant Nayan (nayan.nishant2000 at gmail.com) wrote:

> Hi,
>     My query is how does systemd-journald talk to other services so that it
> stores their logs/output in journal files, which could be displayed using
> journalctl utlity.
>   I am currently looking into systemd journal code to find this out but so
> far no luck.
>   Any suggestions would be appreciated.

See docs:

https://www.freedesktop.org/software/systemd/man/systemd-journald.service

There's a list at the very beginning of the description there that
lists the 5 different ways how log messages are delivered to journald.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list