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
Содержание Sun GlassFish Enterprise Server 2.1
Страница 12: ...12 ...
Страница 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Страница 14: ...14 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 62: ...62 ...
Страница 96: ...96 ...
Страница 126: ...126 ...
Страница 160: ...160 ...
Страница 214: ...214 ...
Страница 218: ...218 ...
Страница 230: ...230 ...