Airflow 3.x logs removal of the source value #56597
Unanswered
msaparito-lexipol
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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.
EDIT: To note, I'm only using 3.0.6 instead of 3.1 or 2.10 due to 3.0.6 is the current cloud provider version. So I'm looking to understand how to manipulate logging in 3.x airflow, so that I can remove features that are not desired.
Example:
In the above example, it would be anything after
hello world
. Meaning: 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?
Beta Was this translation helpful? Give feedback.
All reactions