journalctl + service logs code example
Example 1: see journalctl running logs
sudo journalctl -f -u pagarbook-staging.service
Example 2: journalctl not showing all logs
# restart service to flush your output buffer
# You can also flush manually, e.g. like this in python
import sys
print("Hello")
sys.stdout.flush()