Strip colours from logs when enabled.