Configuring first failure data capture log file purges

The first failure data capture (FFDC) log file saves information that is generated from a processing failure. These files are deleted after a maximum number of days has passed. The captured data is saved in a log file for analyzing the problem.

Before you begin

[AIX Solaris HP-UX Linux Windows][IBM i]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® Support. FFDC instantly collects events and errors that occur during the product run time. The information is captured as it occurs and is written to a log file that can be analyzed by IBM Support personnel.

[z/OS]FFDC is intended primarily for use by IBM Support. FFDC instantly collects events and errors that occur during the product run time. The information is captured as it occurs and is written to a log file that can be analyzed by IBM Support. The data is uniquely identified for the servant region that produced the exception.

[z/OS]The log file purges in seven days by default. If you are concerned about the amount of disk space used by the FFDC log files, you can configure the days between purges.

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 days between purging the FFDC log files. The value of the ExceptionFileMaximumAge property must be a positive number. The FFDC feature does not affect the performance of the Application Server product.

About this task

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

Procedure

  1. Open the ffdcRun.properties file.

    [AIX Solaris HP-UX Linux Windows][z/OS]The file is located in the app_server_root/properties directory.

    [IBM i]The file is located in the profile_root/properties directory.

  2. Change the value for the ExceptionFileMaximumAge property to the number of days between the FFDC log file purges. 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.

Results

[AIX Solaris HP-UX Linux Windows][IBM i]The FFDC file management function removes the FFDC log files that have reached the maximum age and generates a message in the SystemOut.log file.

Note: 這個主題參照一或多個應用程式伺服器日誌檔。 此外,在分散式和 IBM i 系統上,另外也建議您可以配置伺服器來使用「高效能可延伸記載 (HPEL)」日誌和追蹤基礎架構,而不使用 SystemOut.logSystemErr.log, trace.logactivity.log 檔案。HPEL 與原生 z/OS® 記載機能也可以一起使用。如果您使用 HPEL,則可以從伺服器設定檔 bin 目錄,利用 LogViewer 指令行工具來存取您所有的日誌和追蹤資訊。請參閱有關利用 HPEL 疑難排解應用程式的資訊,以取得更多使用 HPEL 的相關資訊。

[z/OS]The FFDC file management function removes the FFDC log files that have reached the maximum age and generates a message in the SYSOUT of the server job log.


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:17
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=ttrb_ffdcconfig
檔名:ttrb_ffdcconfig.html