Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented $CYLC_WORKFLOW_LOG_DIR #779

Open
MetRonnie opened this issue Nov 25, 2024 · 1 comment
Open

Undocumented $CYLC_WORKFLOW_LOG_DIR #779

MetRonnie opened this issue Nov 25, 2024 · 1 comment
Labels
content Addition or modification of documentation small
Milestone

Comments

@MetRonnie
Copy link
Member

MetRonnie commented Nov 25, 2024

CYLC_WORKFLOW_LOG_DIR needs adding to the job script environment variables reference: https://cylc.github.io/cylc-doc/latest/html/reference/job-script-vars/index.html

A quirk is that this points to ${CYLC_WORKFLOW_RUN_DIR}/log/scheduler rather than just ${$CYLC_WORKFLOW_RUN_DIR}/log - see cylc/cylc-flow#6494

Also, for its Jinja2 equivalent, if we don't change where it points to, we need to update the description here to reflect this quirk:

Additional Jinja2 CYLC variables available when the scheduler is parsing an
installed workflow at run time:
.. table::
======================= ==============
CYLC_WORKFLOW_LOG_DIR Workflow log sub-directory

@oliver-sanders
Copy link
Member

(when addressing this issue, please go through all the env vars exported in the job.sh file to check there aren't other omissions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Addition or modification of documentation small
Projects
None yet
Development

No branches or pull requests

2 participants