You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/12 08:00:54 UTC

[GitHub] [airflow] KennethanCeyer edited a comment on pull request #19378: Change logLevel as debug for XCOM returned value message

KennethanCeyer edited a comment on pull request #19378:
URL: https://github.com/apache/airflow/pull/19378#issuecomment-966898703


   One quick question!
   If the user uses `DecoratedOperator` as shown below through Task Flow API,
   there seems to be no way to block XCom return value logs.
   
   ```python
   @task
   def my_task(): # Guess it is `_PythonDecoratedOperator`
       # ... process
       return large_data
   
   
   with DAG(...) as dag:
       data = my_task() # It will make a huge log messages on Airflow UI
       my_second_task(data)
   ```
   
   so, I think additional work will be required in a separate PR for TaskFlow API users.
   What do you think?
   Below are the locations that appear to require further work.
   
   https://github.com/apache/airflow/blob/a9772cf287111a63eac8c2deb1190f7054d7580f/airflow/decorators/python.py#L49-L59


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org