Remote logging issue with AWS mwaa #28409
Unanswered
shubhankg-nd
asked this question in
General
Replies: 2 comments
-
I gess you should check with mwaa support. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's not advisable to modify the remote logging configuration on MWAA. The service uses remote logging configuration and a custom Airflow plugin to upload not only task logs to cloudwatch but also the scheduler logs, dag parser logs, etc. Modifying to a different remote or disabling remote logging will break these features. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was testing remote logging to the s3 bucket path to send airflow task logs. Previously it was working fine. We were able to see logs in airflow UI when there was no environment variable set for remote_logging but after setting logging.remote_logging = True and giving two more values of logging.remote_log_conn_id and logging.remote_base_log_folder as environment variables inside Airflow configuration options of AWS mwaa. We faced this error.
Error:
*** Log file does not exist: /usr/local/airflow/logs/DAG_test/test_mail/2022-11-22T06:42:54.483935+00:00/1.log
*** Fetching from: http://ip-10-192-11-229.us-west-2.compute.internal:8793/log/DAG_test/test_mail/2022-11-22T06:42:54.483935+00:00/1.log
*** Failed to fetch log file from worker. timed out
We have reverted back to the environment variable logging.remote_logging = False inside Airflow configuration options of AWS mwaa
still the same issue.
Note: I have not removed or reverted the other two environment variable values.
Any reason or help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions