Citrix Systems 5.6 Benutzerhandbuch

Seite von 235
162
Set the output of the specified logger. Log messages are filtered by the subsystem in which they originated
and the log level of the message. For example, send debug logging messages from the storage manager
to a file by running the following command:
xe log-set-output 
key=sm
 
level=debug
 
output=
<file:/tmp/sm.log>
The optional parameter 
key
 specifies the particular logging subsystem. If this parameter is not set, it will
default to all logging subsystems.
The optional parameter 
level
 specifies the logging level. Valid values are:
• debug
• info
• warning
• error
Message commands
Commands for working with messages. Messages are created to notify users of significant events, and are
displayed in XenCenter as system alerts.
Message parameters
Parameter Name
Description
Type
uuid
The unique identifier/object reference for
the message
read only
name
The unique name of the message
read only
priority
The message priority. Higher numbers
indicate greater priority
read only
class
The message class, for example VM.
read only
obj-uuid
The uuid of the affected object.
read only
timestamp
The time that the message was
generated.
read only
body
The message content.
read only
message-create
message-create
  name=
<message_name>
  body=
<message_text>
  [[host-uuid=
<uuid_of_host>
]  |  [sr-
uuid=
<uuid_of_sr>
] | [vm-uuid=
<uuid_of_vm>
] | [pool-uuid=
<uuid_of_pool>
]]
Creates a new message.
message-list
message-list
Lists all messages, or messages that match the specified standard selectable parameters.