How to highlight errors and warnings on iTerm terminal output?
iTerm supports coloring of console output based on a set of regular expressions. You can set them up in Preferences > Profiles > Advanced > Triggers > Edit.
Here is my current set of regexes:
(?i:.*error.*) // Yellow on Black
(?i:.*(warning|warn).*) // Orange on Black
(?i:.*FATAL.*) // White on Red
You are welcome to improve it :)