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.
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.
wrapper.log files are controlled by the service wrapper we use; documentation on available logging properties here:
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:
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">
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…
Thank you very much for the suggestions! I will play around with them.