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 2022/04/14 00:32:08 UTC
[GitHub] [airflow] alex-astronomer opened a new pull request, #21281: Mask secrets in stdout for `airflow tasks test ...` CLI command (#17476)
alex-astronomer opened a new pull request, #21281:
URL: https://github.com/apache/airflow/pull/21281
The problem with `airflow tasks test ...` is that any `stdout` that comes from a task inside an operator or other callable does not go through a logger. It runs in the main process. This results in secrets that are printed to `stdout` to not be masked according to the `airflow.task` logger.
I wanted a way to capture and filter stdout without having to route everything through a secondary logger. I decided a context manager that filters `stdout` would be the best way to go about this. The context manager redacts all secrets according to the filters on the `airflow.task` logger.
Closes #17476
--
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
[GitHub] [airflow] potiuk closed pull request #21281: Mask secrets in stdout for `airflow tasks test ...` CLI command (#17476)
Posted by GitBox <gi...@apache.org>.
potiuk closed pull request #21281: Mask secrets in stdout for `airflow tasks test ...` CLI command (#17476)
URL: https://github.com/apache/airflow/pull/21281
--
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
[GitHub] [airflow] github-actions[bot] commented on pull request #21281: Mask secrets in stdout for `airflow tasks test ...` CLI command (#17476)
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #21281:
URL: https://github.com/apache/airflow/pull/21281#issuecomment-1151736673
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.
--
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
[GitHub] [airflow] github-actions[bot] closed pull request #21281: Mask secrets in stdout for `airflow tasks test ...` CLI command (#17476)
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #21281: Mask secrets in stdout for `airflow tasks test ...` CLI command (#17476)
URL: https://github.com/apache/airflow/pull/21281
--
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
[GitHub] [airflow] uranusjr commented on pull request #21281: Mask secrets in stdout for `airflow tasks test ...` CLI command (#17476)
Posted by GitBox <gi...@apache.org>.
uranusjr commented on PR #21281:
URL: https://github.com/apache/airflow/pull/21281#issuecomment-1097670966
We should finish this.
--
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
[GitHub] [airflow] github-actions[bot] commented on pull request #21281: Mask secrets in stdout for `airflow tasks test ...` CLI command (#17476)
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #21281:
URL: https://github.com/apache/airflow/pull/21281#issuecomment-1092317901
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.
--
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