Python output in journal
To get stdout and stderr from a Python process running as a systemd service to show up in e.g. journalctl -fu <service>
add the -u
flag to the Exec
line in the systemd unit file.
To get stdout and stderr from a Python process running as a systemd service to show up in e.g. journalctl -fu <service>
add the -u
flag to the Exec
line in the systemd unit file.