potiuk opened a new issue #16007: URL: https://github.com/apache/airflow/issues/16007
Discovered in this [Slack conversation[(https://apache-airflow.slack.com/archives/CCQ7EGB1P/p1621752408213700). When you have connections with empty passwords masking logs masks all the character breaks: ``` [2021-05-23 04:00:23,309] {{logging_mixin.py:104}} WARNING - ***-***-***-*** ***L***o***g***g***i***n***g*** ***e***r***r***o***r*** ***-***-***-*** [2021-05-23 04:00:23,309] {{logging_mixin.py:104}} WARNING - ***T***r***a***c***e***b***a***c***k*** ***(***m***o***s***t*** ***r***e***c***e***n***t*** ***c***a***l***l*** ***l***a***s***t***)***:*** [2021-05-23 04:00:23,309] {{logging_mixin.py:104}} WARNING - *** *** ***F***i***l***e*** ***"***/***u***s***r***/***l***o***c***a***l***/***l***i***b***/***p***y***t***h***o***n***3***.***8***/***l***o***g***g***i***n***g***/***_***_***i***n***i***t***_***_***.***p***y***"***,*** ***l***i***n***e*** ***1***0***8***1***,*** ***i***n*** ***e***m***i***t*** *** *** *** *** ***m***s***g*** ***=*** ***s***e***l***f***.***f***o***r***m***a***t***(***r***e***c***o***r***d***)*** ``` Until this is fixed, an easy workaround is to disable masking via disabling sensitive connection masking in configuration: ``` [core] hide_sensitive_var_conn_fields = False ``` or vial env variable: ``` AIRFLOW__CORE__HIDE_SENSITIVE_VAR_CONN_FIELDS="False" ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
