You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/02/27 12:05:01 UTC

[airflow] branch master updated: Add docs about supported logging levels (#14507)

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

kamilbregula 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 0ecebad  Add docs about supported logging levels (#14507)
0ecebad is described below

commit 0ecebadb0ed1e5819bdff93d9e70191398a8eec4
Author: Kamil BreguĊ‚a <mi...@users.noreply.github.com>
AuthorDate: Sat Feb 27 13:04:38 2021 +0100

    Add docs about supported logging levels (#14507)
    
    * Add docs about supported logging levels
    
    * fixup! Add docs about supported logging levels
    
    Co-authored-by: Kamil Bregula <ka...@Kamils-MacBook-Pro.local>
---
 airflow/config_templates/config.yml          | 8 ++++++--
 airflow/config_templates/default_airflow.cfg | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/airflow/config_templates/config.yml b/airflow/config_templates/config.yml
index c3b2173..4164fea 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -471,14 +471,18 @@
       default: "False"
     - name: logging_level
       description: |
-        Logging level
+        Logging level.
+
+        Supported values: ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO``, ``DEBUG``.
       version_added: ~
       type: string
       example: ~
       default: "INFO"
     - name: fab_logging_level
       description: |
-        Logging level for Flask-appbuilder UI
+        Logging level for Flask-appbuilder UI.
+
+        Supported values: ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO``, ``DEBUG``.
       version_added: ~
       type: string
       example: ~
diff --git a/airflow/config_templates/default_airflow.cfg b/airflow/config_templates/default_airflow.cfg
index 88c1111..7e30eff 100644
--- a/airflow/config_templates/default_airflow.cfg
+++ b/airflow/config_templates/default_airflow.cfg
@@ -265,10 +265,14 @@ remote_base_log_folder =
 # Use server-side encryption for logs stored in S3
 encrypt_s3_logs = False
 
-# Logging level
+# Logging level.
+#
+# Supported values: ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO``, ``DEBUG``.
 logging_level = INFO
 
-# Logging level for Flask-appbuilder UI
+# Logging level for Flask-appbuilder UI.
+#
+# Supported values: ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO``, ``DEBUG``.
 fab_logging_level = WARN
 
 # Logging class