Integration Engine Solutions to Connect Anything to Anything

Log out?

Documentation

Configuring the eiPlatform to Auto Clean Up Old Log Files

By default, the eiPlatform’s logging configuration will create a new log file each day and will not delete old files.  However, the eiPlatform can be configured to clean up old log files.  To do that, you will need to edit the logConfig.xml file as shown below:

Instructions:

    1. Open the logConfig.xml file from the eiPlatform installation directory
    2. On line 6, change the appender class from “org.apache.log4j.DailyRollingFileAppender” to “com.pilotfish.utils.log4j.CustomDailyRollingFileAppender”.
    3. Add the following two lines after line 6:

<!– Maximum number of log files.  Older log files will be deleted. –>

<param name=”maxBackupIndex” value=”10″/>

  1. Change the maxBackupIndex value if desired.  This is the maximum number of log files that will be retained.  For example, if it is “10”, then the current day’s eip.log file plus 9 previous days log files will be retained.  Older log files will be automatically deleted. 
  2. Your logConfig.xml file should look similar to the screenshot below.
  3. Restart the eiPlatform service for this change to take effect. 

Feel free to contact support@pilotfishtechnology.com for any questions that you may have.

This is a unique website which will require a more modern browser to work! Please upgrade today!