collinmcnulty opened a new issue, #62201:
URL: https://github.com/apache/airflow/issues/62201

   ### Apache Airflow version
   
   3.1.7
   
   ### If "Other Airflow 3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   structlog error was raised when a dict is passed as an argument to a logging 
message.
   
   ### What you think should happen instead?
   
   It should be able to print the string representation of the dict passed as 
an argument
   
   ### How to reproduce
   
   Run this file. You can see that it succeeds and behaves as expected if you 
remove the `import airflow`
   
   ```py
   import logging
   import airflow
   
   logging.getLogger(__name__).warning('Info message %s', {'a': 10})
   ```
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm)
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Astronomer
   
   ### 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]

Reply via email to