Created
January 29, 2016 13:48
-
-
Save aeciojr/aa45c5624d8fec1f2f52 to your computer and use it in GitHub Desktop.
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
tail -n 1000 -f /path/File.log|awk '/INFO/ {print "\033[32m" $0 "\033[39m"} /ERROR/ {print "\033[31m" $0 "\033[39m"} /WARNING/ {print "\033[33m" $0 "\033[39m"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment