[
https://issues.apache.org/jira/browse/AIRFLOW-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15596175#comment-15596175
]
ASF subversion and git services commented on AIRFLOW-385:
---------------------------------------------------------
Commit 8911903f9135efd725bb2285500b20e54a34e3b8 in incubator-airflow's branch
refs/heads/master from [~vijaysbhat]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=8911903 ]
[AIRFLOW-385] Add symlink to latest scheduler log directory
Create a symbolic link to the directory contaning
the latest scheduler logs, and update the link
when the target changes.
Update the test_scheduler_job test case to verify
that the symbolic link is created.
Implementation:
- Create a symbolic link to the directory
containing the latest scheduler logs, and update
the link when the target changes.
Testing Done:
- Extend test_scheduler_job test case to verify
that the correct symbolic link is created.
Closes #1842 from vijaysbhat/latest-log-symlink
> Scheduler logs should have a "latest" directory
> -----------------------------------------------
>
> Key: AIRFLOW-385
> URL: https://issues.apache.org/jira/browse/AIRFLOW-385
> Project: Apache Airflow
> Issue Type: Improvement
> Components: logging
> Reporter: Dan Davydov
> Assignee: Vijay Bhat
> Priority: Minor
> Labels: beginner, logging
>
> Right now the scheduler logs for each parsed file look like
> /tmp/airflow/scheduler/logs/2016-07-17/some-dag/...
> The problem is this makes it hard to find the latest logs which is the most
> frequent use case.
> Ideally we would create and have the scheduler keep up to date a symlink to
> the latest date /tmp/airflow/scheduler/logs/latest which would point to e.g.
> /tmp/airflow/scheduler/logs/2016-07-17
> We might also want to consider changing the structure to dag/date instead of
> date/dag too, but that can be done as a separate task if desired.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)