Kiran Gavali created AIRFLOW-4021: ------------------------------------- Summary: Log file location in email alert incorrect Key: AIRFLOW-4021 URL: https://issues.apache.org/jira/browse/AIRFLOW-4021 Project: Apache Airflow Issue Type: Bug Components: logging Affects Versions: 1.10.1 Reporter: Kiran Gavali
Log files for task tries are stored inĀ {{base_log_dir/dag_id/task_id/execution_date_iso_format/try_number.log}}. On task failure, the email alert that is sent specifies "Log file:" path as {{base_log_dir/dag_id/task_id/execution_date_iso_format.log}}. UntilĀ AIRFLOW-3909 is fixed, one would have to use the log file path on the server mentioned in the email alert to view the log for the failed try. Related code line is [here|https://github.com/apache/airflow/blob/ad02179c28f1f93cbf55789b9ca8f3b9eeafeff7/airflow/models/__init__.py#L875]. -- This message was sent by Atlassian JIRA (v7.6.3#76005)