You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ohad (Jira)" <ji...@apache.org> on 2019/12/30 13:53:00 UTC

[jira] [Created] (AIRFLOW-6404) Add ANSI color support

ohad created AIRFLOW-6404:
-----------------------------

             Summary: Add ANSI color support
                 Key: AIRFLOW-6404
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6404
             Project: Apache Airflow
          Issue Type: New Feature
          Components: logging, ui
    Affects Versions: 1.10.7
            Reporter: ohad
            Assignee: ohad
             Fix For: 1.10.8


Add ANSI color support in order to present colored logs in the airflow webUI
{code:java}
ESC [ 0 m       # reset all (colors and brightness)

# FOREGROUND:
ESC [ 30 m      # black
ESC [ 31 m      # red
ESC [ 32 m      # green
ESC [ 33 m      # yellow
ESC [ 34 m      # blue
ESC [ 35 m      # magenta
ESC [ 36 m      # cyan
ESC [ 37 m      # white
ESC [ 39 m      # reset

# BACKGROUND
ESC [ 40 m      # black
ESC [ 41 m      # red
ESC [ 42 m      # green
ESC [ 43 m      # yellow
ESC [ 44 m      # blue
ESC [ 45 m      # magenta
ESC [ 46 m      # cyan
ESC [ 47 m      # white
ESC [ 49 m      # reset{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)