Cloud CM-IPMP Guía para resolver problemas Pagina 80

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 201
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 79
Log Level Description
FATAL
Only error messages for unrecoverable errors are produced (not recommended).
ERROR
Only error messages are produced (not recommended).
WARN
Error and warning messages are produced.
INFO
The default. Errors and warnings are produced, as well as some informational
messages, especially during node startup or deployment of new resource adaptors
or services.
DEBUG
Will produce a large number of log messages. As the name suggests this log
level is intended for debugging by Open Cloud Rhino SLEE developers.
Table 10.1: Level Cut-off Filters
By default, the Rhino SLEE comes configured with the following appenders, visible using the "listAppenders" command from
the Command Console:
[Rhino@localhost (#14)] listAppenders
ConfigLog
STDERR
RhinoLog
The
RhinoLog
appender is the main appender. This appender sends all its output to
work/log/rhino.log
. The AppenderRef
which causes this appender to receive all log messages is linked from the root logger key.
The
STDERR
appender outputs all log messages to the standard error stream so that they appear on the console where a Rhino
node is running. This also has an
AppenderRef
linked to the root logger key.
The
ConfigLog
appender outputs all log messages to the
work/log/config.log
file, and has an
AppenderRef
attached to the
rhino.config
logger key.
Rolling file appenders can be set up so that when a log file reaches a configured size, it is automatically renamed as a numbered
backup file and a new file created. When a certain number of archived log files have been made, old ones are deleted. In this
way, log messages are archived and disk usage is kept at a manageable level.
10.3 Logging Configuration
Rhino SLEE also allows changes to logging configuration at run-time, useful for capturing log information to diagnose a prob-
lem without requiring a SLEE restart. Log configuration is accomplished using the Logging Configuration MBean, accessible
via the Web Console or the Command Console.
The Logging Configuration MBean provides methods for querying the current state of log configuration, and for changing the
current configuration. Configuration changes take effect immediately for most subsystems
1
.
10.3.1 Log Configuration using the Command Console
The Command Console has several commands to modify the logging configuration at run-time. A quick example of some of
these commands is given below.
The first example here is the creation of a file appender. A file appender appends logging requests to a file in the
work/log
directory in each node’s directory.
1
Log level changes in some subsystems will only be effective after a node restart. This restriction is imposed for performance reasons.
Open Cloud Rhino 1.4.3 Administration Manual v1.1 71
Vista de pagina 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 200 201

Comentarios a estos manuales

Sin comentarios