I have a vpn service unit for which I can view the logs with...
journalctl -u vpn
I also have a script that interacts with the vpn manually and is logged to journal with...
exec > >(systemd-cat -t vpn.sh) 2>&1
and I can view the logs with...
journalctl -t vpn.sh
I tried viewing both logs with...
journalctl -u vpn -t vpn.sh
but it didn't work.
Is there a way to view both logs at the same time? Or is it possible to set the identifier (-t vpn.sh) in the vpn service unit file to match the identifier of my script (vpn.sh).