beautypg.com

Configuring logging, Configuring general logging settings, Configuring log levels – Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 168

background image

Configuring Logging

This section contains the following topics:

“Configuring General Logging Settings” on page 168

“Configuring Log Levels” on page 168

“Viewing Server Logs” on page 169

Configuring General Logging Settings

To configure the general logging settings using the Admin Console:

For the developer profile, go to Application Server

→ Logging → General

For the cluster and enterprise profiles, go to Configurations

→ Configuration → Logging

Settings

→ General

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:

For the developer profile, go to Application Server

→ Logging → Log Levels

For the cluster and enterprise profiles, go to Configurations

→ Configuration → Logging →

Logging Settings

→ Log Levels

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

“The Logger

Namespace Hierarchy” on page 166

.

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 Logging

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

168