[AIX Solaris HP-UX Linux Windows][IBM i]

Configuring the service log

The settings for service logs are typically shared for all servers, but you can configure a separate service log for each server process by overriding the configuration values at the server level.

About this task

The configuration values for the service log are inherited by each server process from the node configuration, but under certain circumstances you might wish to configure the service logs differently for individual servers. You can use the administrative console to change the service log settings from the server level configuration panels.
Note: 這個主題參照一或多個應用程式伺服器日誌檔。 此外,在分散式和 IBM® i 系統上,另外也建議您可以配置伺服器來使用「高效能可延伸記載 (HPEL)」日誌和追蹤基礎架構,而不使用 SystemOut.logSystemErr.log, trace.logactivity.log 檔案。HPEL 與原生 z/OS® 記載機能也可以一起使用。如果您使用 HPEL,則可以從伺服器設定檔 bin 目錄,利用 LogViewer 指令行工具來存取您所有的日誌和追蹤資訊。請參閱有關利用 HPEL 疑難排解應用程式的資訊,以取得更多使用 HPEL 的相關資訊。

In WebSphere Application Server Version 7 and earlier, the service log is enabled by default. In WebSphere Application Server Version 8x, however, the service log is disabled by default. Configure your servers to use HPEL log and trace mode and use the HPEL API if you need to be able to merge log file content from multiple servers. Use the HPEL log, trace mode and the HPEL LogViewer command if you need to be able to render log content in Common Base Event XML format.

Procedure

  1. Start the administrative console.
  2. Click Troubleshooting > Logs and Trace > server_name > IBM Service Logs.
  3. Select the Enable box to enable the service log, or clear the check box to disable the log.
  4. Set the name for the service log.

    [AIX Solaris HP-UX Linux Windows]The default name is profile_root/logs/activity.log. If the name is changed, the run time requires write access to the new file, and the file must use the .log extension.

    [IBM i]The default name is profile_root/logs/activity.log. If the name is changed, the run time requires write access to the new file, and the file must use the .log extension.

  5. Set the maximum file size.

    Specifies the number of megabytes to which the file can grow. When the file reaches this size, it wraps, replacing the oldest data with the newest data.

  6. Save the configuration.
  7. Restart the server to apply the configuration changes.

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



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