# Wrapper Log or Gateway Log

**URL:** <https://forum.inductiveautomation.com/t/wrapper-log-or-gateway-log/51887>\
**Category:** Ignition\
**Created:** [October 13, 2021, 8:45am UTC](https://forum.inductiveautomation.com/t/wrapper-log-or-gateway-log/51887 "2021-10-13T08:45:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tohhy-pm17](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tohhy-pm17](https://forum.inductiveautomation.com/u/tohhy-pm17)\
**Post date:** [October 13, 2021, 8:45am UTC](https://forum.inductiveautomation.com/t/wrapper-log-or-gateway-log/51887/1 "2021-10-13T08:45:35Z")

</div>

Hi guys, I have some question about the log in Ignition.

1. May I know that where is the Ignition Log store ? Based on my understanding the log will be store in the location that same with the Ignition Software which is the C drive Program Files.

2. Will the log store in my database ?

3. How often the wrapper log will be automatically delete ?

Thanks in advance.

---

<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:** [October 13, 2021, 3:10pm UTC](https://forum.inductiveautomation.com/t/wrapper-log-or-gateway-log/51887/2 "2021-10-13T15:10:31Z")

</div>

There’s both a log in SQLite format, and the “wrapper.log”, which is a text file. There are settings in `ignition.conf` that control the rollover size and retention of the text file. I don’t recall if the SQLite size is controllable. Both files are under the install folder.

---

<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:** [October 13, 2021, 3:12pm UTC](https://forum.inductiveautomation.com/t/wrapper-log-or-gateway-log/51887/3 "2021-10-13T15:12:45Z")

</div>

> [@pturmel](#):
>
> I don’t recall if the SQLite size is controllable. Both files are under the install folder.

The default is 50,000 entries (roughly; it's a soft cap) but it can be overriden by editing `logback.xml`:

> [@Gateway Log Question](https://forum.inductiveautomation.com/t/gateway-log-question/50344/2):
>
> The SQlite-based log appender that the gateway webpage uses is controlled in the logback.xml file in the data directory. You should see a section like this: \<appender name="DB" class="com.inductiveautomation.logging.SQLiteAppender"\> \<dir\>logs\</dir\> \<!-- Maintenance Settings entryLimit: The maximum number of entries in the database. However, at any given time, there may be more than this number, due to how cleanup works. maxEventsPerMaintenance: The number of event t…

To clarify - both the wrapper.log and the SQLite log will be in `$installDirectory/logs` unless you've configured things to use a different location.
