Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6404

Add ANSI color support

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 1.10.7
    • Fix Version/s: 2.0.0
    • Component/s: logging, ui
    • Labels:

      Description

      Add ANSI color support in order to present colored logs in the airflow webUI

      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
      
      # 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
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ohadm ohad
                Reporter:
                ohadm ohad
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: