masonwan
12/14/2013 - 5:48 AM

Print out Tomcat log file "catalina.out" with color

Print out Tomcat log file "catalina.out" with color

tail -200 catalina.out | ack-grep --flush --passthru --color --color-match=red "^.*ERROR.*" | ack-grep --flush --passthru --color --color-match=green "^.*DEBUG.*"