# Ignition Log File grows too large

**URL:** <https://forum.inductiveautomation.com/t/ignition-log-file-grows-too-large/7438>\
**Category:** Ignition\
**Created:** [October 20, 2013, 5:04am UTC](https://forum.inductiveautomation.com/t/ignition-log-file-grows-too-large/7438 "2013-10-20T05:04:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashish007pict](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@ashish007pict](https://forum.inductiveautomation.com/u/ashish007pict)\
**Post date:** [October 20, 2013, 5:04am UTC](https://forum.inductiveautomation.com/t/ignition-log-file-grows-too-large/7438/1 "2013-10-20T05:04:06Z")

</div>

Hello All,

I have installed Ignition on Linux OS and I am using 7.3.7 version. And I am observing that my log file is growing too large. Can somebody help me how to set limit for this file?

Thanks,  
AShish

---

<div class="post-metadata">

**Author:** ![ashish007pict](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@ashish007pict](https://forum.inductiveautomation.com/u/ashish007pict)\
**Post date:** [October 21, 2013, 6:57am UTC](https://forum.inductiveautomation.com/t/ignition-log-file-grows-too-large/7438/2 "2013-10-21T06:57:25Z")

</div>

Hello Guys,

I am really fed up with HTML ingition log files that are generated by Ignition which is killing my LAnner computer which has only 8GB of CF card.

From my search I came to know abt following info. Can you provide me any info how can I make changes in this File. I found this file ignition.conf in etc/ignition directory on my Fedora 14 OS LAnner PC.

I accessed the ignition.conf file in etc/ignition directory on IGP Lanner and found the way to change the Size of logging files, number of logging files to be created… etc…

Below is the section of this file which can be modified to change logging parameters or Am I Wrong?

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# Wrapper Logging Properties

#\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

# Enables Debug output from the Wrapper.

# wrapper.debug=TRUE

# Format of output for the console. (See docs for formats)

wrapper.console.format=PM

# Log Level for console output. (See docs for log levels)

wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.

wrapper.logfile=/var/log/ignition/wrapper.log

# Format of output for the log file. (See docs for formats)

wrapper.logfile.format=LPTM

# Log Level for log file output. (See docs for log levels)

wrapper.logfile.loglevel=INFO

# Maximum size that the log file will be allowed to grow to before

# the log is rolled. Size is specified in bytes. The default value

# of 0, disables log rolling. May abbreviate with the ‘k’ (kb) or

# ‘m’ (mb) suffix. For example: 10m = 10 megabytes.

wrapper.logfile.maxsize=10m

# Maximum number of rolled log files which will be allowed before old

# files are deleted. The default value of 0 implies no limit.

wrapper.logfile.maxfiles=5

# Log Level for sys/event log output. (See docs for log levels)

wrapper.syslog.loglevel=NONE

Is this right way to stop generating HTML log files??

Thanks,  
Ashish

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [October 21, 2013, 2:13pm UTC](https://forum.inductiveautomation.com/t/ignition-log-file-grows-too-large/7438/3 "2013-10-21T14:13:55Z")

</div>

I _think_ there were some log file size control issues in some of the 7.3 releases. maybe an upgrade to a later 7.3 release would solve your issue. you could comb thru some of the release notes an see if you find anything.

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [October 21, 2013, 2:37pm UTC](https://forum.inductiveautomation.com/t/ignition-log-file-grows-too-large/7438/4 "2013-10-21T14:37:53Z")

</div>

To get rid of HTML file logging, what you really want to do is open data/log4j.properties and remove the FileAppender entry at the top of the file. For example, if you have:

```auto
log4j.rootLogger=INFO, FileAppender, SysoutAppender
```

Change the line so that it reads:

```auto
log4j.rootLogger=INFO, SysoutAppender
```

Restart your Gateway, and HTML-style log files should no longer appear.

---

<div class="post-metadata">

**Author:** ![ashish007pict](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@ashish007pict](https://forum.inductiveautomation.com/u/ashish007pict)\
**Post date:** [October 25, 2013, 4:05am UTC](https://forum.inductiveautomation.com/t/ignition-log-file-grows-too-large/7438/5 "2013-10-25T04:05:59Z")

</div>

Thanks mgross… I already did that and find no log files in /usr/local/bin/ignition/logs directory…

I found log4j.properties file in /etc/ignition directory.  
Is this same directory u are talking about?? Or this file exists at some other directory also??

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [October 25, 2013, 2:15pm UTC](https://forum.inductiveautomation.com/t/ignition-log-file-grows-too-large/7438/6 "2013-10-25T14:15:34Z")

</div>

Sorry, I didn’t read your post closely enough to realize you had a Linux installation. Yes, /etc/ignition/log4j.properties is the one to modify.
