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
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
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.console.format=PM
wrapper.console.loglevel=INFO
wrapper.logfile=/var/log/ignition/wrapper.log
wrapper.logfile.format=LPTM
wrapper.logfile.loglevel=INFO
wrapper.logfile.maxsize=10m
wrapper.logfile.maxfiles=5
wrapper.syslog.loglevel=NONE
Is this right way to stop generating HTML log files??
Thanks,
Ashish
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.
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:
log4j.rootLogger=INFO, FileAppender, SysoutAppender
Change the line so that it reads:
log4j.rootLogger=INFO, SysoutAppender
Restart your Gateway, and HTML-style log files should no longer appear.
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??
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.