potiuk commented on issue #36964: URL: https://github.com/apache/airflow/issues/36964#issuecomment-1906667854
You can Use: https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/get_log - generally, it's OK to use the REST API of Airflow from the task. It's just a matter of installing Python Client and setting up the authentication. This has the advantage that it will provide you the logs in unified way - no matter what task handler you are using. Does it solve your problem? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
