# Accessing Gateway Logs within Perspective

**URL:** <https://forum.inductiveautomation.com/t/accessing-gateway-logs-within-perspective/54704>\
**Category:** Ignition\
**Created:** [January 5, 2022, 10:28pm UTC](https://forum.inductiveautomation.com/t/accessing-gateway-logs-within-perspective/54704 "2022-01-05T22:28:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![agriner](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@agriner](https://forum.inductiveautomation.com/u/agriner)\
**Post date:** [January 5, 2022, 10:28pm UTC](https://forum.inductiveautomation.com/t/accessing-gateway-logs-within-perspective/54704/1 "2022-01-05T22:28:33Z")

</div>

I have a logger I’ve been using that captures some specific errors whenever they occur in my app. I’d like to have those populate a table in Perspective. Is it possible to access gateway logs within perspective?

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [January 5, 2022, 10:49pm UTC](https://forum.inductiveautomation.com/t/accessing-gateway-logs-within-perspective/54704/2 "2022-01-05T22:49:50Z")

</div>

One flow to consider might be:

1. Setup an additional DB appender in the `${IGNITION_INSTALL_LOCATION}/data/logback.xml` configuration ([DBAppender reference](https://logback.qos.ch/manual/appenders.html#DBAppender)) and setup your specific logger to flow into this appender.
2. Configure a database connection in Ignition (perhaps it might be a SQLite database that you load the logback tables into (per the documentation)) to access the logs.
3. Setup queries to retrieve and tie into your table.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 5, 2022, 11:25pm UTC](https://forum.inductiveautomation.com/t/accessing-gateway-logs-within-perspective/54704/3 "2022-01-05T23:25:40Z")

</div>

I’d stay away from this for now. There’s an upgrade to logback coming that removes DB appender stuff from all the log4j fallout.

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [January 5, 2022, 11:32pm UTC](https://forum.inductiveautomation.com/t/accessing-gateway-logs-within-perspective/54704/4 "2022-01-05T23:32:52Z")

</div>

Ahhh, I’m seeing [that](https://github.com/qos-ch/logback/commit/87291079a1de9369ac67e20dc70a8fdc7cc4359c) now… Good call, @Kevin.Herron…

Might be a good idea to see how some of this shakes out…

---

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [August 25, 2023, 5:09am UTC](https://forum.inductiveautomation.com/t/accessing-gateway-logs-within-perspective/54704/5 "2023-08-25T05:09:07Z")

</div>

Just to check any updates on displaying gateway log in perspective view.

---

<div class="post-metadata">

**Author:** ![HAKEEM\_DAYARAJU](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hakeem_dayaraju/32/76842_2.png) [@HAKEEM\_DAYARAJU](https://forum.inductiveautomation.com/u/HAKEEM_DAYARAJU)\
**Post date:** [August 7, 2025, 12:46am UTC](https://forum.inductiveautomation.com/t/accessing-gateway-logs-within-perspective/54704/6 "2025-08-07T00:46:23Z")

</div>

Hi @Kevin.Herron & @kcollins ,

Any updates on displaying gateway logs in perspective views.

Thanks,

Dayaraju

---

<div class="post-metadata">

**Author:** ![tyler.bennett](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@tyler.bennett](https://forum.inductiveautomation.com/u/tyler.bennett)\
**Post date:** [August 7, 2025, 7:38am UTC](https://forum.inductiveautomation.com/t/accessing-gateway-logs-within-perspective/54704/7 "2025-08-07T07:38:13Z")

</div>

> [@Accessing Diagnostic Logs in Perspective](https://forum.inductiveautomation.com/t/accessing-diagnostic-logs-in-perspective/66954/6):
>
> It is possible to display the gateway log viewer (https://[ipaddress]/web/status/diag.logviewer) through a Perspective Inline Frame component. In my implementation I had Config \> Security \> General \> Status Page Permissions left blank (public security level). I am not exactly sure what obstacles a more restricted security setup might introduce. It appears very possible to retrieve logger information (as suggested by @PGriffith) and potentially build build your own log viewer in Perspective . He…

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [August 7, 2025, 1:38pm UTC](https://forum.inductiveautomation.com/t/accessing-gateway-logs-within-perspective/54704/8 "2025-08-07T13:38:23Z")

</div>

No, nothing formal on this front. There are still various options for customizing log output within Logback, but that and getting it into a view in Perspective will still be a custom implementation.
