[
https://issues.apache.org/jira/browse/AIRFLOW-2743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538706#comment-16538706
]
Maciej Bryński commented on AIRFLOW-2743:
-----------------------------------------
Fresh install of 1.10rc1.
Runned in docker from
https://github.com/gsemet/docker-airflow/tree/2.0dev
(only version changed)
Logs are created in worker containers (there are log files).
>From webserver log I'm getting only this (no exception)
{code}
100.117.96.198 - - [10/Jul/2018:14:42:11 +0000] "GET
/admin/airflow/get_logs_with_metadata?dag_id=example_bash_operator&task_id=run_this_last&execution_date=2018-07-09T00%3A00%3A00%2B00%3A00&try_number=1&metadata=null
HTTP/1.1" 200 192 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
{code}
> Task log handler file.task does not support read logs
> -----------------------------------------------------
>
> Key: AIRFLOW-2743
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2743
> Project: Apache Airflow
> Issue Type: Bug
> Components: logging
> Affects Versions: 1.10.0
> Reporter: Maciej Bryński
> Priority: Major
>
> When I'm trying to check logs from web UI nothing is showing up.
> Using developer console I can see that there is request to:
> https://airflow_server/admin/airflow/get_logs_with_metadata?dag_id=example_bash_operator&task_id=run_this_last&execution_date=2018-07-09T00%3A00%3A00%2B00%3A00&try_number=1&metadata=null
> With response
> {code}
> {"error": true,
> "message": ["Task log handler file.task does not support read
> logs.\n'NoneType' object has no attribute 'read'\n"],
> "metadata": {"end_of_log": true}
> }
> {code}
> PS. I'm using CeleryExecutor
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)