Sun GlassFish Enterprise Server v2.1.1 Administration Guide

Configuring Logging

This section contains the following topics:

Configuring General Logging Settings

To configure the general logging settings using the Admin Console:

On the General page, enter appropriate values to customize logging to your requirements. Stop and restart the Enterprise Server.

For details on setting the various configuration parameters, click Help in the Admin Console.

To configure these log settings in asadmin, use the get and set commands.

Configuring Log Levels

To configure log levels using the Admin Console:

Set the log level for the modules listed on this page. Use the Additional Properties area to configure log levels for any application loggers. For a list of the module loggers, see Module Log Levels.

For details on setting the various configuration parameters, click Help in the Admin Console.

To configure these log settings in asadmin, use the get and set commands.

For example, to set the logging level of the SIP container to FINE, use the following set command:

asadmin set server-config.log-service.module-log-levels.property.sip=FINE

Viewing Server Logs

To view the log files:

Use the options provided in the Search Criteria area to display log results based on your preferences.