views:

664

answers:

6

I'm tired of using:

tail -f development.log

To keep track of my rails logs. Instead I would like something that displays the info in a grid and allows my to sort, filter and look at stack traces per log message.

Does anyone know of a GUI tool for displaying rails logs. Ideally I would like a standalone app (not something in Netbeans or Eclipse)

+1  A: 

FWIW I started this project at GitHub to try and solve this problem, its far from functional.

Sam Saffron
A: 

You might be able to use http://logging.apache.org/chainsaw/index.html . Haven't used it in a long time but I think its log parser should be configurable

Tamer Salama
not sure about this one, it looks pretty primitive ... will give it a shot
Sam Saffron
A: 

I went looking for one recently, there are a few attempts, but none that really help you solve problems. Many of the Rails log viewers just focus on giving you performance information for each controller/action in your app.

I'd love to see something that grouped all your exceptions together, that would be nice.

Dan Harper - Leopard CRM
Check out the Exception Logger plugin.
jcnnghm
A: 

Splunk, there is a Free version that is limited to 500mb but has all the same functionality as the full version.

A: 

I like using the Exception Logger plugin for live sites. I can visit http://domain.com/logged_exceptions, and read all of the unhandled exceptions that have been throw in production, along with full stack traces. From there, it's pretty easy to write tests to find and correct the problem. There's a whole railscast on the topic here.

jcnnghm
A: 

I asked the same question a few days ago and got suggestions for Splunk, BareTail, and tail [been using Chainsaw until now].

Chainsaw didn't work so well for me. It was buggy and non-responsive. So I looked into Splunk which turned out to be a big overkill for just viewing logs. Tail seemed a bit too primitive for my taste. So if you're on Windows, I'd say BareTail is your best bet.

HTH

Nadav