[Gajim-devel] logging to file instead of stderr, without escape sequences?
asterix at lagaule.org
Fri Mar 7 21:46:42 CET 2014
On 03/07/2014 09:44 AM, Dan Muresan wrote:
> http://trac.gajim.org/wiki/GajimLogging explains how to set up various
> logging configurations, but output logging to a plain text file.
> Redirecting 2> to a file fills up the log with ASCII escape sequences
> (and I can't be sure random junk beside logging doesn't end up in stderr)
We use "'TERM' in os.environ" to decide if you use color or not.
We could also add a new command line option to force disabling colors.
More information about the Gajim-devel