Discussion:
std::cout statements in journalctl
(too old to reply)
deepan muthusamy
2018-11-09 09:46:19 UTC
Permalink
Will journalctl shows std::cout outputs of a service ?
Lennart Poettering
2018-11-09 10:03:42 UTC
Permalink
Post by deepan muthusamy
Will journalctl shows std::cout outputs of a service ?
I presume you mean the C++ standard output concept? Then yes, by
default systemd collects all standard output and standard error output
and writes it to the journal.

Lennart
--
Lennart Poettering, Red Hat
Loading...