2.2.1 WDS_OP_LOG_INIT

This opcode is used to initialize logging and to obtain a unique Transaction ID that is used later to send status messages generated by the deployment agent to the server.

The request packet from client MUST include the following variables:

VERSION (WDSCPL_VAR_ULONG): MUST be set to 1.

The reply packet from the server MUST include the following variables:

VERSION (WDSCPL_VAR_ULONG): MUST be set to 1.

LOGLEVEL (WDSCPL_VAR_ULONG): The enumeration specifies the severity for status messages that MUST be logged by the client. Each severity level MUST include lower severity level status messages.

This variable MUST be set to a value as given in the following table.

Log Level

Description

WDS_LOG_LEVEL_DISABLED

0x00000000

The client MUST NOT log any status messages.

WDS_LOG_LEVEL_ERROR

0x00000001

The client MUST log all status messages for failure conditions.

WDS_LOG_LEVEL_WARNING

0x00000002

The client MUST log all status messages for warning and failure conditions.

WDS_LOG_LEVEL_INFO

0x00000003

The client MUST log all status messages for informational, warning, and failure conditions.

TRANSACTION_ID (WDSCPL_VAR_WSTRING): MUST be set to the string value that is used by the client in WDS_OP_LOG_MSG opcode (section 2.2.2) to send status messages to the server.