[systemd-devel] Use of systemd-cat
Lennart Poettering
lennart at poettering.net
Tue Aug 31 14:00:51 UTC 2021
On Di, 31.08.21 13:16, Nishant Nayan (nayan.nishant2000 at gmail.com) wrote:
> I read systemd-cat manpage and its functiinality, how exactly can it be
> useful for logging and debugging, any example would be helpful.
The man page lists two examples already.
here's a third: a service script things that logs its log output to stdout/stderr
which you want to invoke from the shell, but still have the logs go to
the journal:
myscript | systemd-cat
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list