Sun GlassFish Enterprise Server 2.1 Administration Guide
只搜尋這本書
以 PDF 格式下載這本書 (1587 KB)

Diagnostic and Logging Commands

The diagnostic and logging commands help you troubleshoot problems with the application server. These commands are supported in remote mode only.

Table C–18 Diagnostic and Logging Commands

Command

Definition

generate-diagnostic-report

Generates an HTML report that contains pointers or navigational links to an application server installation details such as configuration details, logging details, or process specific information for an application server instance.

display-error-statistics

Displays a summary list of severities and warnings in server.log since the last server restart.

display-error-distribution

Displays distribution of errors from instance server.log at module level.

display-log-records

Displays all the error messages for a given module at a given timestamp.