Logs in Color

Here is a cool technique to see your console logs in color. Save your eyes from scanning every line for that word “SEVERE” by running this.

tail -f catalina.out | perl -pe 's/.*SEVERE.*/\e[1;31m$&\e[0m/g'

console