>>>>> On Mon, 2 Sep 2013, William Hubbs wrote:

> I can see why someone might want to use escape codes for color
> displays, etc. However, imo, escape codes do not belong in log
> files.

> mgorny says many people benefit from having escape codes in log
> files, but I see no benefit from it, and I don't like going through
> build.log because of them. If you load a build.log into an editor,
> the escape sequences are basically trash characters that get in the
> way.

> Another consideration is if someone puts messages from a build.log
> directly in a bug and the messages contain escape codes, this will
> crash things like pybugz because bugzilla doesn't filter out the
> escape character.

> Does anyone else have an opinion on this?

Log files should be plain text without any embedded font attributes or
other formatting.

I'd consider any tool as broken if it outputs escape sequences when
the output doesn't go to a terminal. (Unless such output was
explicitly asked for.)

Ulrich

Reply via email to