Skip to content

Instantly share code, notes, and snippets.

@MrAndrewMal
Last active March 5, 2025 13:15
Show Gist options
  • Save MrAndrewMal/764e69e35cef7e7b38f05e561d670c9f to your computer and use it in GitHub Desktop.
Save MrAndrewMal/764e69e35cef7e7b38f05e561d670c9f to your computer and use it in GitHub Desktop.
How to read live-tail logs of multiple services with journalctl
#Systemd - How to read live-tail logs of multiple services with journalctl
sudo journalctl --follow _SYSTEMD_UNIT=docker.service + _SYSTEMD_UNIT=apache2.service
@shakram02
Copy link

shakram02 commented May 14, 2023

a golden nugget ❇️

I suggest adding --output cat option to allow for colored outputs as explained here

@webdev23
Copy link

webdev23 commented Feb 5, 2025

journalctl -f :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment