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
Summary of Contents for Sun GlassFish Enterprise Server 2.1
Page 12: ...12 ...
Page 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Page 14: ...14 ...
Page 18: ...18 ...
Page 38: ...38 ...
Page 62: ...62 ...
Page 96: ...96 ...
Page 126: ...126 ...
Page 160: ...160 ...
Page 214: ...214 ...
Page 218: ...218 ...
Page 230: ...230 ...