diff --git a/airflow/configuration.py b/airflow/configuration.py index 22e2c6abf702d..81eb0fc725344 100644 --- a/airflow/configuration.py +++ b/airflow/configuration.py @@ -856,7 +856,7 @@ def mask_secrets(self): for section, key in self.sensitive_config_values: try: - value = self.get(section, key) + value = self.get(section, key, suppress_warnings=True) except AirflowConfigException: log.debug( "Could not retrieve value from section %s, for key %s. Skipping redaction of this conf.",