# Way to print into designer output console in perspective events

**URL:** <https://forum.inductiveautomation.com/t/way-to-print-into-designer-output-console-in-perspective-events/27706>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [August 23, 2019, 11:02am UTC](https://forum.inductiveautomation.com/t/way-to-print-into-designer-output-console-in-perspective-events/27706 "2019-08-23T11:02:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![janne.p](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@janne.p](https://forum.inductiveautomation.com/u/janne.p)\
**Post date:** [August 23, 2019, 11:02am UTC](https://forum.inductiveautomation.com/t/way-to-print-into-designer-output-console-in-perspective-events/27706/1 "2019-08-23T11:02:04Z")

</div>

I have found that it is possible to print into a log file of the gateway using system.util.getLogger().  
Using normal python print command doesn’t seem to work in this case and I suspect that it is because all the code is running on the server.

Is there any other way to get log printing into designers output console?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 23, 2019, 2:57pm UTC](https://forum.inductiveautomation.com/t/way-to-print-into-designer-output-console-in-perspective-events/27706/2 "2019-08-23T14:57:13Z")

</div>

Perspective’s events really are running in the gateway. There’s no connection between the gateway’s logger and the logger’s in each designer and vision client. IA would have to implement some form of log forwarding. Sounds like an [idea…](https://ideas.inductiveautomation.com/)

---

<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:** [August 23, 2019, 3:24pm UTC](https://forum.inductiveautomation.com/t/way-to-print-into-designer-output-console-in-perspective-events/27706/3 "2019-08-23T15:24:21Z")

</div>

There’s actually already a PR, waiting on QA, to add a `system.perspective.print` function, which prints from the running session into the browser console (which, if you’re in the designer, also then gets sent to the standard output console).

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [August 23, 2019, 3:58pm UTC](https://forum.inductiveautomation.com/t/way-to-print-into-designer-output-console-in-perspective-events/27706/4 "2019-08-23T15:58:14Z")

</div>

Awesome you guys finally added that! Will we be able to see it from the native apps too?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [August 26, 2019, 7:34pm UTC](https://forum.inductiveautomation.com/t/way-to-print-into-designer-output-console-in-perspective-events/27706/5 "2019-08-26T19:34:01Z")

</div>

The PR in question does not address native applications, only the Designer and browser.

---

<div class="post-metadata">

**Author:** ![e.truffet](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@e.truffet](https://forum.inductiveautomation.com/u/e.truffet)\
**Post date:** [August 12, 2021, 2:54pm UTC](https://forum.inductiveautomation.com/t/way-to-print-into-designer-output-console-in-perspective-events/27706/6 "2021-08-12T14:54:05Z")

</div>

> [@paul-griffith](#):
>
> system.perspective.print

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [April 22, 2025, 4:15pm UTC](https://forum.inductiveautomation.com/t/way-to-print-into-designer-output-console-in-perspective-events/27706/7 "2025-04-22T16:15:36Z")

</div>

Which version is this in, system.p doesn't bring anything up?

---

<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:** [April 22, 2025, 4:36pm UTC](https://forum.inductiveautomation.com/t/way-to-print-into-designer-output-console-in-perspective-events/27706/8 "2025-04-22T16:36:16Z")

</div>

Where are you trying to write your script? The `system.perspective` namespace is only available in the gateway scope.
