-
-
Save BjoernSchilberg/dd4314ddd49493d5d5a89e37a26d3e2b to your computer and use it in GitHub Desktop.
How to read live-tail logs of multiple services with journalctl
This file contains hidden or 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 | |
Hint: | |
https://serverfault.com/questions/805775/journalctl-how-to-display-colors-in-its-output/893763#893763 | |
If the original daemon output is already colorized, but the colors are being lost when using journalctl, the `--output cat` option will restore them. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment