Using TextMate with Rails .log Files

When I open up my Rails .log files in TextMate, I see some kind of coding (e.g. [4;36;1mSQL ) in the log. I assume this is for color coding or something of the text. How can I get TextMate to render it correctly?

Thanks, Tom

Tom wrote:

When I open up my Rails .log files in TextMate, I see some kind of coding (e.g. [4;36;1mSQL ) in the log. I assume this is for color coding or something of the text. How can I get TextMate to render it correctly?

Thanks, Tom

Open up a console and type this instead...

tail -f log/development.log

Alan,

Thanks for the explanation! The ActiveRecord::Base.colorize_logging will do exactly what I need!

Thanks again, Tom

You can also do "less -r log/development.log" to view the entire file later with colorization, assuming you have an ANSI type terminal program (as most are now days).

David

_Kevin wrote: