You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/24 22:29:08 UTC

[GitHub] [airflow] aresabalo commented on issue #19816: logging error

aresabalo commented on issue #19816:
URL: https://github.com/apache/airflow/issues/19816#issuecomment-978354451


   Bad workaround patch /home/airflow/.local/lib/python3.8/site-packages/airflow/utils/log/secrets_masker.py   
   
       def redact(self, item: "RedactableItem", name: Optional[str] = None) -> "RedactableItem":
           """Redact an any secrets found in ``item``, if it is a string.
   
           If ``name`` is given, and it's a "sensitive" name (see
           :func:`should_hide_value_for_key`) then all string values in the item
           is redacted.
           """
           # Bad workaround avoiding stack overflow
           return item
           # return self._redact(item, name, depth=0)


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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org