# Increase Log size and wrapper.logs

**URL:** <https://forum.inductiveautomation.com/t/increase-log-size-and-wrapper-logs/53984>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [December 10, 2021, 7:43am UTC](https://forum.inductiveautomation.com/t/increase-log-size-and-wrapper-logs/53984 "2021-12-10T07:43:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clement\_Cheung](https://avatars.discourse-cdn.com/v4/letter/c/b77776/32.png) [@Clement\_Cheung](https://forum.inductiveautomation.com/u/Clement_Cheung)\
**Post date:** [December 10, 2021, 7:43am UTC](https://forum.inductiveautomation.com/t/increase-log-size-and-wrapper-logs/53984/1 "2021-12-10T07:43:04Z")

</div>

Is there a way to increase the number of logs?  
As far as I understand the logs can be found under Diagnostics \> Logs, as well as in the file system under Inductive Automation\Ignition\logs. There are only 6 log wrappers available.

My logs run out and override itself in less than a day. Is there a way to increase the number of logs?

Thank you for your help.

---

<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:** [December 10, 2021, 12:51pm UTC](https://forum.inductiveautomation.com/t/increase-log-size-and-wrapper-logs/53984/2 "2021-12-10T12:51:35Z")

</div>

I don’t know about the log database, but there are settings in ignition.conf that control the wrapper log size limit, number of kept files, and naming. Read the comments in ignition.conf.

---

<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:** [December 10, 2021, 4:47pm UTC](https://forum.inductiveautomation.com/t/increase-log-size-and-wrapper-logs/53984/3 "2021-12-10T16:47:34Z")

</div>

The `wrapper.log` files are controlled by the service wrapper we use; documentation on available logging properties here:  
[https://wrapper.tanukisoftware.com/doc/english/props-logging.html](https://wrapper.tanukisoftware.com/doc/english/props-logging.html)

The system\_logs.idb file is generated by Ignition and controlled through a custom `logback` appender; you can change `logback.xml` to change the retention target from the default ~50,000 events:

> [@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…

---

<div class="post-metadata">

**Author:** ![Clement\_Cheung](https://avatars.discourse-cdn.com/v4/letter/c/b77776/32.png) [@Clement\_Cheung](https://forum.inductiveautomation.com/u/Clement_Cheung)\
**Post date:** [December 13, 2021, 3:14am UTC](https://forum.inductiveautomation.com/t/increase-log-size-and-wrapper-logs/53984/4 "2021-12-13T03:14:35Z")

</div>

Thank you very much for the suggestions! I will play around with them.
