C_LOG

code: 63

Important

This is for internal use only.

# set
C_LOG <message>

# get
C_LOG ?

Description

For debug purposes: The command takes a string and puts it into the log file. C_LOG "This is a message" will cause "User log: This is a message" be added to the xenaserver log. In order to use it, the user must be able to reserve the chassis, limiting the usefulness in the general cage.

Why is this added? Because if we’re debugging something that generates a ton of log output, sometimes it’s nice to say something like “Switching to 100M” before running the speed change command; add something recognizable, a sentinel.

Actions

set, get

Parameters

  1. message: string, the string to add to the log file.

Example

# set
input:  C_LOG "This is a message"
output: <OK>

# get
input:  C_LOG ?
output: C_LOG "This is a message"