You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by tu...@apache.org on 2020/12/03 15:09:10 UTC

[airflow] branch master updated: Change DEBUG color to green in coloured logger (#12784)

This is an automated email from the ASF dual-hosted git repository.

turbaszek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 56f82ba  Change DEBUG color to green in coloured logger (#12784)
56f82ba is described below

commit 56f82ba22519b0cf2cb0a1f7c4d083db7f2e3358
Author: Tomek Urbaszek <tu...@gmail.com>
AuthorDate: Thu Dec 3 15:07:43 2020 +0000

    Change DEBUG color to green in coloured logger (#12784)
    
    In this way it's easier to see difference between debug and error.
---
 airflow/utils/log/colored_log.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/utils/log/colored_log.py b/airflow/utils/log/colored_log.py
index 5d4b0af..d1adb08 100644
--- a/airflow/utils/log/colored_log.py
+++ b/airflow/utils/log/colored_log.py
@@ -25,7 +25,7 @@ from colorlog import TTYColoredFormatter
 from colorlog.escape_codes import esc, escape_codes
 
 DEFAULT_COLORS = {
-    "DEBUG": "red",
+    "DEBUG": "green",
     "INFO": "",
     "WARNING": "yellow",
     "ERROR": "red",