You should also read:

Fazendo os prints do Python aparecerem no systemctl status

fazer todos os prints passarem o parâmetro flush=True [code language="python"] import functools print = functools.partial(print, flush=True) [/code] https://stackoverflow.com/questions/230751/how-to-flush-output-of-print-function https://fhackts.wordpress.com/2014/11/27/systemd-journal-not-showing-python-3-print/