[systemd-devel] std::cout statements in journalctl

Lennart Poettering lennart at poettering.net
Fri Nov 9 10:03:42 UTC 2018


On Fr, 09.11.18 15:16, deepan muthusamy (deepan.m2903 at gmail.com) wrote:

> 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


More information about the systemd-devel mailing list