On Di, 31.08.21 13:16, Nishant Nayan (nayan.nishant2...@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

Reply via email to