# Best Way to Redirect Logging Using CYLC-8

**URL:** <https://cylc.discourse.group/t/best-way-to-redirect-logging-using-cylc-8/430>\
**Category:** Cylc 8 Migration\
**Created:** [February 4, 2022, 12:11am UTC](https://cylc.discourse.group/t/best-way-to-redirect-logging-using-cylc-8/430 "2022-02-04T00:11:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jardizzo](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/jardizzo/32/180_2.png) [@jardizzo](https://cylc.discourse.group/u/jardizzo)\
**Post date:** [February 4, 2022, 12:11am UTC](https://cylc.discourse.group/t/best-way-to-redirect-logging-using-cylc-8/430/1 "2022-02-04T00:11:04Z")

</div>

Hi, we are experimenting with CYLC-8. The **symlink dirs** directive in global.cylc (see below) is not recognized using version 8.0b3 but it is recognized using 8.0b1. Has this feature been deprecated in the beta development? Is there a better way to redirect logging to a new directory? Any help is greatly appreciated. Thanks, Joe

[symlink dirs]  
[[localhost]]  
run = /discover/nobackup/jardizzo  
log = /discover/nobackup/jardizzo  
share = /discover/nobackup/jardizzo  
share/cycle = /discover/nobackup/jardizzo  
work = /discover/nobackup/jardizzo

---

<div class="post-metadata">

**Author:** ![dpmatthews](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/dpmatthews/32/26_2.png) [@dpmatthews](https://cylc.discourse.group/u/dpmatthews)\
**Post date:** [February 4, 2022, 8:18am UTC](https://cylc.discourse.group/t/best-way-to-redirect-logging-using-cylc-8/430/2 "2022-02-04T08:18:40Z")

</div>

Hi Joe. It got moved into the `[install]` section at 8.0b2:  
[https://github.com/cylc/cylc-flow/issues/4219](https://github.com/cylc/cylc-flow/issues/4219)  
[https://cylc.github.io/cylc-doc/8.0b3/html/reference/config/global.html#global.cylc[install][symlink%20dirs]](https://cylc.github.io/cylc-doc/8.0b3/html/reference/config/global.html#global.cylc%5Binstall%5D%5Bsymlink%20dirs%5D)

Note that, in your example, you only need the `run` setting since the run directory contains all the others. You would only need to use the other settings if you wanted them to point to a different location than `run`.

---

<div class="post-metadata">

**Author:** ![jardizzo](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/jardizzo/32/180_2.png) [@jardizzo](https://cylc.discourse.group/u/jardizzo)\
**Post date:** [February 4, 2022, 1:28pm UTC](https://cylc.discourse.group/t/best-way-to-redirect-logging-using-cylc-8/430/3 "2022-02-04T13:28:31Z")

</div>

> [@dpmatthews](#):
>
> Hi Joe. It got moved into the `[install]` section at 8.0b2:  
> [symlink dirs: move into [install] section · Issue #4219 · cylc/cylc-flow · GitHub](https://github.com/cylc/cylc-flow/issues/4219)  
> [https://cylc.github.io/cylc-doc/8.0b3/html/reference/config/global.html#global.cylc[install][symlink%20dirs]](https://cylc.github.io/cylc-doc/8.0b3/html/reference/config/global.html#global.cylc%5Binstall%5D%5Bsymlink%20dirs%5D)
> 
> Note that, in your example, you only need the `run` setting since the run directory contains all the others. You would only need to use the other settings if you wanted them to point to a different location than `run` .

This is great! Thanks so much for the quick response. We will give it a try. Regards, Joe
