[
https://issues.apache.org/jira/browse/AIRFLOW-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16531951#comment-16531951
]
Yuri Bendana commented on AIRFLOW-2707:
---------------------------------------
I had the same problem in part because I was using the 2.0 (master) version of
the log config file. Copy the
airflow/config_templates/airflow_local_settings.py to AIRFLOW_HOME/config and
add an __init__.py. Then in airflow.cfg set
logging_config_class=airflow_local_settings.DEFAULT_LOGGING_CONFIG and
task_log_reader=file.task.
> Error accessing log files from web UI
> -------------------------------------
>
> Key: AIRFLOW-2707
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2707
> Project: Apache Airflow
> Issue Type: Bug
> Affects Versions: 1.9.0, Airflow 1.9.0
> Environment: Debian
> Reporter: Victor Martin
> Priority: Major
> Attachments: Captura de pantalla 2018-07-02 a las 11.10.33.png
>
>
> After upgrading from Airflow v1.8 to v1.9, local log files are not shown
> anymore on the web UI.
>
> This is the error shown when clicking to "Log" button on a task instance
> details (see attached screenshot):
>
> {code:java}
> Task log handler task does not support read logs. 'NoneType' object has no
> attribute 'read'{code}
>
> I've checked the local filesystem are logs are generated as expected on
> $AIRFLOW_HOME/logs.
>
> Other than configuring celery and postgresql, I'm with default 1.9 airflow.cfg
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)