Remove color code sequences in Rails test.log
06 Oct 2021 - Tobias ErdleTo remove the weird looking color sequences like in [1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
, 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
.