-
-
Save tinker1987/7a7f4fa9a9f5b5ddbcb6a41223b75a8a to your computer and use it in GitHub Desktop.
Revisions
-
tinker1987 revised this gist
Sep 11, 2017 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ tail -100f var/logs/dev.log | awk ' /INFO/ {print "\033[32m" $0 "\033[39m"} /ERROR|Exception/ {print "\033[31m" $0 "\033[39m"} /DEBUG/ {print "\033[33m" $0 "\033[39m"} ' -
kartikshah created this gist
Feb 17, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ $tail -100f /var/log/applications/application.log | awk ' /INFO/ {print "\033[32m" $0 "\033[39m"} /Exception/ {print "\033[31m" $0 "\033[39m"} '