Sun-microsystems GLASSFISH ENTERPRISE 820433510 Manual de usuario Pagina 165

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 256
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 164
Conguring Logging
This chapter briey describes how to congure logging and view the server log. It contains the
following sections:
“About Logging” on page 165
“Conguring Logging” on page 168
About Logging
“Log Records” on page 165
“The Logger Namespace Hierarchy” on page 166
Log Records
The Enterprise Server uses the Java EE platform Logging API specied in JSR 047. Enterprise
Server logging messages are recorded in the server log, normally found at
domain-dir/logs/server.log. When a log is rotated, Enterprise Server creates a new, empty
le named server.log and renames the old le server.log_date, where date is the date and
time when the le was rotated.
The components of the Enterprise Server generate logging output. Application components can
also generate logging output.
Application components may use the Apache Commons Logging Library to log messages. The
platform standard JSR 047 API, however, is recommended for better log conguration.
Log records follow a uniform format:
[#|yyyy-mm-ddThh:mm:ss.SSS-Z|Log Level|ProductName-Version|LoggerName|Key Value Pairs|Message|#]
For example:
17
CHAPTER 17
165
Vista de pagina 164
1 2 ... 160 161 162 163 164 165 166 167 168 169 170 ... 255 256

Comentarios a estos manuales

Sin comentarios