# "Gateway.log" and some other big files

**URL:** <https://forum.inductiveautomation.com/t/gateway-log-and-some-other-big-files/2944>\
**Category:** Ignition\
**Created:** [May 17, 2011, 2:44pm UTC](https://forum.inductiveautomation.com/t/gateway-log-and-some-other-big-files/2944 "2011-05-17T14:44:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![apimente](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/apimente/32/4030_2.png) [@apimente](https://forum.inductiveautomation.com/u/apimente)\
**Post date:** [May 17, 2011, 2:44pm UTC](https://forum.inductiveautomation.com/t/gateway-log-and-some-other-big-files/2944/1 "2011-05-17T14:44:27Z")

</div>

Hi,

I don’t know if this is normal but in our projects we have some big files that in some cases, overloaded the hard disk.

I’m talking about some kind of log file located in this folder: “C:\Archivos de programa\Inductive Automation\Ignition\contexts\main\logs”.

For example, We’ve installed ignition yesterday and today we already have 2 files (2gb each one).

Any explanation of which is the pourpose of this files and if I can desactivate this feature.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 17, 2011, 3:01pm UTC](https://forum.inductiveautomation.com/t/gateway-log-and-some-other-big-files/2944/2 "2011-05-17T15:01:00Z")

</div>

Those log files can get big if you have a lot of errors. By default we keep only a few days of logs but they can get over 1GB each. To turn off the logging edit the:

C:\Program Files\Inductive Automation\contexts\main\log4j.properties

file. Change the following line:

log4j.rootLogger=INFO, FileAppender, SysoutAppender

to:

log4j.rootLogger=INFO, SysoutAppender

That removes the file logger. I believe you have to restart Ignition in order for that settings to take place. You can delete the old logs to clean up disk space.

---

<div class="post-metadata">

**Author:** ![apimente](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/apimente/32/4030_2.png) [@apimente](https://forum.inductiveautomation.com/u/apimente)\
**Post date:** [May 24, 2011, 2:15pm UTC](https://forum.inductiveautomation.com/t/gateway-log-and-some-other-big-files/2944/3 "2011-05-24T14:15:37Z")

</div>

Thank you very much. ![:prayer:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e5a7e3b63facc151ea73e3b45db7bdb3d4bdc316.gif ":prayer:")

---

<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:** [May 24, 2011, 3:22pm UTC](https://forum.inductiveautomation.com/t/gateway-log-and-some-other-big-files/2944/4 "2011-05-24T15:22:22Z")

</div>

You should turn them back on and find out what is causing the errors and fix them. We can help diagnose what is going on.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [June 17, 2011, 6:59pm UTC](https://forum.inductiveautomation.com/t/gateway-log-and-some-other-big-files/2944/5 "2011-06-17T18:59:39Z")

</div>

This should no longer be a problem with newer versions of Ignition, the old HTML logs that could grow unbounded have been replaced with a fixed-size binary logging format.
