WAS log maintenance | Garbage collection log


FFDC


+

Search Tips   |   Advanced Search


The first failure data capture (FFDC) feature preserves the information that is generated from a processing failure and returns control to the affected engines. The captured data is saved in a log file for analyzing the problem. FFDC is intended primarily for use by IBM Service. FFDC instantly collects events and errors that occur during the WebSphere Application Server runtime. The information is captured as it occurs and is written to a log file that can be analyzed by an IBM Service representative. The data is uniquely identified for the servant region that produced the exception.

If not properly maintained, this log can grow very big, causing you to run out of disk space and halting application server processing.

Hence, IBM recommends that you rotate this log regularly.

You can also configure the property files to automatically purge FFDC logs. The FFDC configuration properties files are located in the properties directory under the Application Server product installation. You must set the ExceptionFileMaximumAge property to the same value in all three files: ffdcRun.properties, ffdcStart.properties, and ffdcStop.properties. You can set the ExceptionFileMaximumAge property to configure the amount of days between purging the FFDC log files. The value of the ExceptionFileMaximumAge property must be a positive number.

Perform the following steps to configure the number of days between the FFDC log file purges. The value is in days.

  1. Edit...

    app_server_root/properties/ffdcRun.properties

  2. Change the value for the ExceptionFileMaximumAge property to the number of days between the FFDC log file purges. ,p>The value of the ExceptionFileMaximumAge property must be a positive number. The default is seven days. For example, ExceptionFileMaximumAge = 3 sets the default time to three days. The FFDC log file is purged after three days.

  3. Save the ffdcRun.properties file and exit.

  4. Repeat the previous steps to modify the ffdcStart.properties and ffdcStop.properties files.

The FFDC file management function now removes the FFDC log files that have reached the maximum age and generates a message in the SystemOut.log file.