# Are diagnostic logs shown on portal part of Gateway logs?

**URL:** <https://forum.inductiveautomation.com/t/are-diagnostic-logs-shown-on-portal-part-of-gateway-logs/73185>\
**Category:** Ignition\
**Created:** [May 3, 2023, 7:01am UTC](https://forum.inductiveautomation.com/t/are-diagnostic-logs-shown-on-portal-part-of-gateway-logs/73185 "2023-05-03T07:01:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivam\_Gohri](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@Shivam\_Gohri](https://forum.inductiveautomation.com/u/Shivam_Gohri)\
**Post date:** [May 3, 2023, 7:01am UTC](https://forum.inductiveautomation.com/t/are-diagnostic-logs-shown-on-portal-part-of-gateway-logs/73185/1 "2023-05-03T07:01:54Z")

</div>

I have configured logback.xml using FileAppender to publish logs in .log file. However I'm unable to view the diagnostic logs shown on the portal in the file. I see there is custom appender ignition has to push logs in SQLite db.

---

<div class="post-metadata">

**Author:** ![Shivam\_Gohri](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@Shivam\_Gohri](https://forum.inductiveautomation.com/u/Shivam_Gohri)\
**Post date:** [May 8, 2023, 5:29am UTC](https://forum.inductiveautomation.com/t/are-diagnostic-logs-shown-on-portal-part-of-gateway-logs/73185/2 "2023-05-08T05:29:55Z")

</div>

@Kevin.Herron @paul-griffith Any help on this would be highly appreciated ! Thanks

---

<div class="post-metadata">

**Author:** ![Shivam\_Gohri](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@Shivam\_Gohri](https://forum.inductiveautomation.com/u/Shivam_Gohri)\
**Post date:** [May 8, 2023, 10:35am UTC](https://forum.inductiveautomation.com/t/are-diagnostic-logs-shown-on-portal-part-of-gateway-logs/73185/3 "2023-05-08T10:35:27Z")

</div>

> [@How does 'com.inductiveautomation.logging.SQLiteAppender' work?](https://forum.inductiveautomation.com/t/how-does-com-inductiveautomation-logging-sqliteappender-work/73390):
>
> I'm trying to get all the gateway logs in a .log file using FileAppender. However, I'm unable to see the logs shown on UI (Diagnostic -\> logs) which are maintained in .idb file using 'com.inductiveautomation.logging.SQLiteAppender'. Is there any way to get the diagnostic logs to a .log file ?

---

<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:** [May 8, 2023, 2:44pm UTC](https://forum.inductiveautomation.com/t/are-diagnostic-logs-shown-on-portal-part-of-gateway-logs/73185/4 "2023-05-08T14:44:27Z")

</div>

Can you share your `data/logback.xml` configuration? Also, try not to create duplicate posts--it makes it harder for those who are replying to try and help.
