Colorize logs in eclipse console Colorize logs in eclipse console java java

Colorize logs in eclipse console


Have a try with this Eclipse Plugin: Grep Console

[Update]:
As pointed out by commenters:When installing Grep Console in the currently last version of Eclipse, you need to uncheck 'Group items by category' in the Install dialog to see the available items.
As pointed out by @Line the plugin can now be easily installed via the Eclipse Marketplace again without changing any options.

[Update 2]:
As pointed out by @azdev, to get proper highlighting:

Entering just literal strings doesn't work. To get a line to be colored, you have to enclose the string in .* on either side, like so: .*ERROR.*


Actually the ANSI Console plugin adds ANSI escape code support to Eclipse console.At present it does have a limitation though, whereby escape codes that span multiple lines leak incorrectly to other lines when scrolling, see issue #3.

Otherwise some terminal view plugin as explained in this other question might be an option for some.


As already pointed out by @Benjamin Grep Console is a great way to colorize output in the Console.

I had made a short video to demonstrate how it worked and heard back from the Creator of the Grep Console plugin. He mentioned that Grep console 3 is has been released.

Screen cast : http://www.youtube.com/watch?v=fXjgGZAxToc

Update Sites

Grep Console 2
http://eclipse.musgit.com
(requires Eclipse 3.4 (Ganymede) or higher and Java 5.0 or higher)

Grep Console 3
http://eclipse.schedenig.name
(requires Eclipse 3.7 (Indigo) or higher and Java 6.0 or higher)