Conguring Logging
This section contains the following topics:
■
“Conguring General Logging Settings” on page 168
■
“Conguring Log Levels” on page 168
■
“Viewing Server Logs” on page 169
Conguring General Logging Settings
To congure the general logging settings using the Admin Console:
■
For the developer prole, go to Application Server → Logging → General
■
For the cluster and enterprise proles, go to Congurations → Conguration → 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 conguration parameters, click Help in the Admin Console.
To congure these log settings in asadmin, use the get and set commands.
Conguring Log Levels
To congure log levels using the Admin Console:
■
For the developer prole, go to Application Server → Logging → Log Levels
■
For the cluster and enterprise proles, go to Congurations → Conguration → Logging →
Logging Settings → Log Levels
Set the log level for the modules listed on this page. Use the Additional Properties area to
congure 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 conguration parameters, click Help in the Admin Console.
To congure these log settings in asadmin, use the get and set commands.
ConguringLogging
SunGlassFishEnterpriseServer2.1AdministrationGuide • December2008168