Tailing log files in eclipse

I used to tail my log files in the console/terminal with “$ tail -f somelog.log”. But this is not really working if you have Eclipse in fullscreen mode (in Mac OS X). I recently stumbled across a very nice plugin, which basically let’s you do the same thing in a “Window-View” just like the Console- or Outline view of Eclipse. The plugin supports also multiple log files, so you can easily switch between a debug an normal log file. Furthermore you can define some rules (word or regex-match) which then can, if they match, change the particular line’s back- and foreground color…  exceptions can’t hide 🙂 To install this extension copy the following URL and go to Eclipse > Help > Install new Software and install the “Log Viewer Feature”. Restart eclipse and open the Log Viewer with Window > Show View > Other > Log Viewer. You then need to add all the log files you want to tail and create your custom rules (see picture for more infos). Please also visit and star this project on it’s Google Code site.

Advertisements

1 Comment

Filed under Development, Eclipse, Uncategorized

One response to “Tailing log files in eclipse

  1. Krzysztof

    I was using Eclipse LogViewer for some time but I switched to OtrosLogViewer (http://code.google.com/p/otroslogviewer/). It’s standalone application, but supports more functionality (filtering, message formatting, etc…)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s