This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » General discussion » remove colors from command line task output
remove colors from command line task output [message #103201] Wed, 28 July 2010 16:16
claudia_k  is currently offline claudia_k
Messages: 29
Registered: June 2010
Junior Member
Hi there

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:
>> file+     /xxx/data/frontend_prod-cli.lck

This makes it difficult to read. Is there any easy way to remove these characters from the output?

Thanks

Claudia


http://www.knewledge.com
Previous Topic:Stuck with symfony forms
Next Topic:Possible colision between inheritance and sluggable behaviour when creating tables
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software