kosteev opened a new issue, #62472:
URL: https://github.com/apache/airflow/issues/62472
### Apache Airflow version
main (development)
### If "Other Airflow 3 version" selected, which one?
_No response_
### What happened?
Task that does:
d = {'a': 3}
logging.info('with format %s', d)
produces error log messages (but task succeeds)
### What you think should happen instead?
_No response_
### How to reproduce
1. Run breeze
2. Deploy DAG
```
from airflow.models.dag import DAG
from airflow.sdk import task
from datetime import datetime
import logging
@task
def print_dict():
d = {'a': 3}
print(d) # <- ok
logging.info(d) # <- ok
logging.info(f'with f string {d}') # <- ok
logging.info('with format %s', d) # <- ERROR
with DAG(
dag_id="print_dict_dag",
start_date=datetime(2023, 1, 1),
schedule=None,
catchup=False,
) as dag:
t0 = print_dict()
```
3. Observe
<img width="2160" height="1291" alt="Image"
src="https://github.com/user-attachments/assets/eee19dd1-53e1-47e7-9f4f-f71b6ea13534"
/>
### Operating System
Linux
### Versions of Apache Airflow Providers
_No response_
### Deployment
Other
### Deployment details
Breeze
### 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]