Created
August 21, 2014 06:59
-
-
Save andreyshuster/ecb683d31e11ac53bd70 to your computer and use it in GitHub Desktop.
colored tail logs. requires ack-grep
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 -f /var/log/nginx/access.log | ack-grep --flush --passthru --color --color-match=red "^.* 404 .*$" | ack-grep --flush --passthru --color --color-match=green "^.* 200 .*$" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment