One way to write to logs in Airflow is to return a string from PythonOperator, for example, on line 44 here .
Are there other ways that allow me to write to the airflow log files? I found that print statements are not logged.
You can import the registration module into your code and write to the log in this way
import logging logging.info('Hello')
Source: https://habr.com/ru/post/1258439/More articles:Java Script Device Testing - CRM 2016 Online - javascriptconvert grayscale image to three channel image - pythonAutomatic Partition Number in RMarkdown - r-markdownCMFCMenuButton redraws incorrectly when switching high contrast mode - c ++https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1258438/adding-logs-to-airflow-logs&usg=ALkJrhi6I82QuAp_vMg41rRkgO8VuhS6MgMatlab multiplies each row in the matrix by another number - vectorconverting zoo to dataframe - timeAdd pipe to formControlName in Angular2 - angularcreate models in expressjs - javascriptWhat type of function is endl? How to define something like endl? - c ++All Articles