Tobias Erdle's Blog

Writes mostly about Java, Jakarta EE and software development in general. All views are my own.

Github: erdlet | E-Mail: blog (at) erdlet (punkt) de

Remove color code sequences in Rails test.log

To remove the weird looking color sequences like in  (0.0ms) PRAGMA foreign_keys = OFF, one needs to set config.colorize_logging = false in the relevant environment files to print plain text. The result after settings this flag is (0.1ms) PRAGMA foreign_keys.