airflow icon indicating copy to clipboard operation
airflow copied to clipboard

Reduce log noise from K8s Pod Operator for XCom

Open jscheffl opened this issue 6 months ago • 1 comments

Had an excessive day checking for problems today and realized that K8sPodOperator produces a bit too much log noise in my view. I think it is okay to inform if no XCom is found but printing the XCom to logs is actually not needed as it is published as XCom anyway.

Therefore I propose to remove this... actually propose to keep it for debugging purposes but propose to keep logs clean in usual operations.

I am not sure if there is any legacy reason behind this. let me know if this is an important "feature". Then I can add (oh not yet another) config flag.

jscheffl avatar Jun 16 '25 21:06 jscheffl

You could argue we shouldn't print them ever - they (xcom and task logs) are separate permissions after all.

jedcunningham avatar Jun 16 '25 22:06 jedcunningham