On Fr, 20.08.21 15:01, Nishant Nayan (nayan.nishant2...@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