Citrix Systems 6 Manuel D’Utilisation
136
Log Commands
Commands for working with logs.
log-set-output
log-set-output
output=nil | stderr | file:
<filename>
| syslog:
<sysloglocation>
[key=
<key>
] [level= debug |
info | warning | error]
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:
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
• 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.
displayed in XenCenter as system alerts.
Message Parameters
Parameter Name
Description
Type
uuid
The unique identifier/object reference for
the message
the message
read only
name
The unique name of the message
read only
priority
The message priority. Higher numbers
indicate greater priority
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.