# Built in logger to a different file

**URL:** <https://forum.inductiveautomation.com/t/built-in-logger-to-a-different-file/54252>\
**Category:** Ignition\
**Created:** [December 17, 2021, 3:57pm UTC](https://forum.inductiveautomation.com/t/built-in-logger-to-a-different-file/54252 "2021-12-17T15:57:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 17, 2021, 5:50pm UTC](https://forum.inductiveautomation.com/t/built-in-logger-to-a-different-file/54252/4 "2021-12-17T17:50:17Z")

</div>

`logback.xml` only controls logs on the gateway. When you execute something in the script console, that’s happening on your local JVM where the designer is running.  
Perspective scripts are actually executing on the gateway, though, so you’ll end up with the right results.

If you want to automatically send logs from clients/designers to the gateway logs, you could do that (with a different pattern), but, y’know, [be careful](https://forum.inductiveautomation.com/t/apache-log4j-vulnerability-cve-2021-44228/54050/12).

---

_[View the full topic](https://forum.inductiveautomation.com/t/built-in-logger-to-a-different-file/54252)._
