Skip to content

Instantly share code, notes, and snippets.

@MrAndrewMal
Last active December 8, 2023 00:55
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • 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

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