GitHub user msaparito-lexipol created a discussion: Airflow 3.x logs removal of 
the source value

Hello, I'm having a hard time removing the source value from the logging 
happening within our environment and I'm simply looking to remove it because 
it's often redundant. I've added file and line back into the logs of 3.0.6, but 
the source seems to be impossible for me to remove. Example:

```
[2025-10-13, 13:49:51] INFO - [base] {example_file.py:60} INFO - hello world : 
source="airflow.providers.cncf.kubernetes.utils.pod_manager.PodManager"
```

This clutters logs for us because we use them as literals in most cases and 
also contain the line and location within the file the log printout occurred. 
Is there a simple way to remove the source values from the logging? Such as a 
flag or similar?

GitHub link: https://github.com/apache/airflow/discussions/56597

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to