if I execute some task (e.g. log:rotate) on the command line the output is colored. This is quite nice if I manually execute these tasks but if I log the output to a file using
symfony log rotate >> tasklog.log
and then check this file with a text editor, I see the color escape characters. Example:
>> [32;1mfile+[0m /xxx/data/frontend_prod-cli.lck
This makes it difficult to read. Is there any easy way to remove these characters from the output?