I upload a dag file to the web page and when I click 'Graph View'
-> ${my_dag}
-> 'View Log'
, it shows:
*** Log file isn't local.
*** Fetching here: http://:8793/log/demo_dag/hello_task/2018-11-14T15:06:00
*** Failed to fetch log file from worker.
*** Reading remote logs...
*** Unsupported remote log location.
I have checked the airflow.cfg
and find these config info:
worker_log_server_port = 8793
base_log_folder = /root/airflow/logs
My question is:
- How to setup IP address for log service (Only port is setup)?
- I have setup directory for log service, why does it still go to
/log/..
?
Any help is appreciated.