Sun GlassFish Enterprise Server v2.1.1 Administration Guide

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.