# How print in console from function

**URL:** <https://forum.inductiveautomation.com/t/how-print-in-console-from-function/79460>\
**Category:** Ignition\
**Created:** [September 21, 2023, 4:10pm UTC](https://forum.inductiveautomation.com/t/how-print-in-console-from-function/79460 "2023-09-21T16:10:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [September 21, 2023, 5:10pm UTC](https://forum.inductiveautomation.com/t/how-print-in-console-from-function/79460/5 "2023-09-21T17:10:35Z")

</div>

You can't print to the output console because the execution scope is different. Alarm pipelines are executing on the gateway, not the local machine (like the script console).

> [@Event Configuration Print Out to debug](https://forum.inductiveautomation.com/t/event-configuration-print-out-to-debug/60091/5):
>
> It’s complicated slight_smile Starting from most local to least… In the script console, print will log directly to the output buffer on the right hand side. system.util.getLogger() will log to the named ‘Output Console’ Designer window. Bonus: A script invoked from here using system.util.invokeAsync will print to the regular output console, not the buffer on the right hand side. Anywhere else in the designer (except Perspective), print and system.util.getLogger will log to the ‘Out…

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-print-in-console-from-function/79460)._
