# Central gateway logs missing

**URL:** <https://forum.inductiveautomation.com/t/central-gateway-logs-missing/73873>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [May 17, 2023, 11:26pm UTC](https://forum.inductiveautomation.com/t/central-gateway-logs-missing/73873 "2023-05-17T23:26:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shawn\_Rieger](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/shawn_rieger/32/46336_2.png) [@Shawn\_Rieger](https://forum.inductiveautomation.com/u/Shawn_Rieger)\
**Post date:** [May 17, 2023, 11:26pm UTC](https://forum.inductiveautomation.com/t/central-gateway-logs-missing/73873/1 "2023-05-17T23:26:48Z")

</div>

A few days after upgrading our central gateway from 8.1.18 to 8.1.26, our gateway log seemed to get truncated, and there were no entries past 5/5. I tossed it up with the upgrade, although it was a few days after. Now I'm looking at the logs, and I have nothing before 11 May 2023 at 11:02:46 EST. Is there a limit at which point the log gets cut off that I possibly was unaware of before? It currently contains 31,530 items. Export of the log reveals the same data, cut off before 5/11 at 11:02.

Any thoughts on what this could be?

---

<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:** [May 18, 2023, 3:25pm UTC](https://forum.inductiveautomation.com/t/central-gateway-logs-missing/73873/2 "2023-05-18T15:25:32Z")

</div>

Logs as in the `system.logs.idb` file, the `wrapper.log.n` files, or the log interface in the web UI?

---

<div class="post-metadata">

**Author:** ![Shawn\_Rieger](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/shawn_rieger/32/46336_2.png) [@Shawn\_Rieger](https://forum.inductiveautomation.com/u/Shawn_Rieger)\
**Post date:** [May 18, 2023, 3:45pm UTC](https://forum.inductiveautomation.com/t/central-gateway-logs-missing/73873/3 "2023-05-18T15:45:08Z")

</div>

Just checked the wrapper logs as well, everything starts at 5/11, UI viewer, idb file, and wrapper.

---

<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:** [May 18, 2023, 4:25pm UTC](https://forum.inductiveautomation.com/t/central-gateway-logs-missing/73873/4 "2023-05-18T16:25:40Z")

</div>

Well, the typical upgrade process wouldn't disturb log files at rest. There are 'truncation' mechanisms for the different log files, but they're totally independent; the log idb file attempts to keep ~50,000 rows (or certain filesize limits), and the `wrapper.log` file is controlled by the parameters in `ignition.conf`. So for both to be cut off at the same date suggests it was something outside either mechanism. Did you perform the upgrade by doing an uninstall and then installing the new version? Do you remember any oddities during the installation process? Wherever Ignition is installed, try looking for 'companion' files marked with a timestamp, e.g. there will be an active `data/` folder, and then a `data_$timestamp/` folder; that would be generated during an _uninstall_ operation. I don't think that an uninstall tries to preserve logs.

If you _don't_ see any such evidence of an uninstall, then I'll blame ~~cosmic rays~~ something else in your environment.
