nosami opened a new issue, #62773: URL: https://github.com/apache/airflow/issues/62773
### Apache Airflow version 3.1.7 ### If "Other Airflow 3 version" selected, which one? _No response_ ### What happened? We discovered JWT tokens appearing in the logs. <img width="633" height="625" alt="Image" src="https://github.com/user-attachments/assets/dcd0b8c4-926e-4397-aeb4-6fc2541fc6a3" /> There exists a function for redacting JWT tokens https://github.com/apache/airflow/blob/c7cbced12678ca1c6b2b1dcbcdf83eec2b1897d7/shared/logging/src/airflow_shared/logging/structlog.py#L205-L216 But it doesn't work for this line, presumably because `workload` is an object not a string - https://github.com/apache/airflow/blob/c7cbced12678ca1c6b2b1dcbcdf83eec2b1897d7/task-sdk/src/airflow/sdk/execution_time/execute_workload.py#L56 ### What you think should happen instead? _No response_ ### How to reproduce Run any DAG ### Operating System debian bookworm ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
