Take the 2-minute tour ×

Whenever I open up test.log from any rails application I get the following screenshot in Sublime. I've tried messing around with encodings, but couldn't find anything that fixed it.

enter image description here

Any ideas on what is going on?

share|improve this question
Those are the character sequences that colorize the log output when watched in a Terminal. –  SciPhi Aug 31 '12 at 20:49
Is there a way to get rid of them? Is rails colorizing things or is it one of the gems I have installed? –  Noah Clark Aug 31 '12 at 20:51
add comment

1 Answer

up vote 7 down vote accepted

These are control characters used to add colour to the log files. Sublime text apparently doesn't support this.

If you're mostly going to be viewing log files with editors that don't understand these colour codes you can turn this off with the config.colorize_logging setting

share|improve this answer
add comment

Your Answer


