# How do I read logs.bin?

**URL:** <https://forum.inductiveautomation.com/t/how-do-i-read-logs-bin/7266>\
**Category:** Ignition\
**Created:** [September 16, 2013, 10:34pm UTC](https://forum.inductiveautomation.com/t/how-do-i-read-logs-bin/7266 "2013-09-16T22:34:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lisawas](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@lisawas](https://forum.inductiveautomation.com/u/lisawas)\
**Post date:** [September 16, 2013, 10:34pm UTC](https://forum.inductiveautomation.com/t/how-do-i-read-logs-bin/7266/1 "2013-09-16T22:34:22Z")

</div>

If I unzip logs.bin.gz, how do I read what’s left? I dumped the file into a text editor, and there is human-readable text interspersed with other characters.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 16, 2013, 11:01pm UTC](https://forum.inductiveautomation.com/t/how-do-i-read-logs-bin/7266/2 "2013-09-16T23:01:15Z")

</div>

You don’t 🙂 It’s a binary format.

The text version of the logs can be found in the wrapper.log files.

---

<div class="post-metadata">

**Author:** ![rcorkern](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@rcorkern](https://forum.inductiveautomation.com/u/rcorkern)\
**Post date:** [February 1, 2014, 4:27pm UTC](https://forum.inductiveautomation.com/t/how-do-i-read-logs-bin/7266/3 "2014-02-01T16:27:25Z")

</div>

Will the wrapper.log file contain logs from when the Gateway was first installed and started? My wrapper log file only shows me 7 days back…? I’m trying to use this as proof as to when certain days that the HMI Gateway was not powered on, therefore not recording data.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [February 1, 2014, 4:49pm UTC](https://forum.inductiveautomation.com/t/how-do-i-read-logs-bin/7266/4 "2014-02-01T16:49:11Z")

</div>

What are the logs.bin.gz files used for? What good do they do?

---

<div class="post-metadata">

**Author:** ![Curlyandshemp](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@Curlyandshemp](https://forum.inductiveautomation.com/u/Curlyandshemp)\
**Post date:** [February 1, 2014, 4:51pm UTC](https://forum.inductiveautomation.com/t/how-do-i-read-logs-bin/7266/5 "2014-02-01T16:51:54Z")

</div>

> [@rcorkern](#):
>
> Will the wrapper.log file contain logs from when the Gateway was first installed and started? My wrapper log file only shows me 7 days back..? I'm trying to use this as proof as to when certain days that the HMI Gateway was not powered on, therefore not recording data.

You can use the Windows Event viewer to record when the Ignition Gateway service started.

---

<div class="post-metadata">

**Author:** ![rcorkern](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@rcorkern](https://forum.inductiveautomation.com/u/rcorkern)\
**Post date:** [February 3, 2014, 4:31pm UTC](https://forum.inductiveautomation.com/t/how-do-i-read-logs-bin/7266/6 "2014-02-03T16:31:21Z")

</div>

Is there a more accurate way than the event viewer? It’s seems as if it doesn’t catch everytime the Gateway service starts…? I have a customer that is missing hours and days of data and I need a way to proof : 1st-that the system was powered on, 2nd-HMI was running. And if those 2 are true then I need to figure out what happened. I emailed support I just need a ticket# so I can submit the logs.bin and the wrapper log files. Thanks

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [March 7, 2014, 4:49pm UTC](https://forum.inductiveautomation.com/t/how-do-i-read-logs-bin/7266/7 "2014-03-07T16:49:38Z")

</div>

rcorkern,

This is a rather old thread, I hope you were able to contact tech support and get your issue resolved. Let me know if you need further assistance.
