Last active
March 5, 2025 13:15
-
-
Save MrAndrewMal/764e69e35cef7e7b38f05e561d670c9f to your computer and use it in GitHub Desktop.
How to read live-tail logs of multiple services with journalctl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Systemd - How to read live-tail logs of multiple services with journalctl | |
sudo journalctl --follow _SYSTEMD_UNIT=docker.service + _SYSTEMD_UNIT=apache2.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
a golden nugget ❇️
I suggest adding
--output cat
option to allow for colored outputs as explained here