EMC ViPR REST API

Search (SHIFT+S)

API Reference


Set Log Levels

POST /logs/log-levels/

Update log levels


Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN
  • SYSTEM_MONITOR
  • SECURITY_ADMIN

Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
<log_level_set>
<node_id> Optional, A list of node ids to be updated. All the nodes in the cluster will be updated by default String 0-* Elements
<node_name> Optional, A list of node names to be updated. All the nodes in the cluster will be updated by default String 0-* Elements
<log_name> Optional, A list of service names to be updated with new log level. All the services will be updated by default String 0-* Elements
<severity> Required, An int indicating the new log level. Valid values: FATAL (0) EMERG(1) ALERT(2) CRIT(3) ERROR(4) WARN(5) NOTICE(6) INFO(7) DEBUG(8) TRACE(9) Integer
<expir_in_min> Optional, Expiration time in minutes Integer
<scope> Optional, log level scope. Valid values: SCOPE_DEFAULT SCOPE_DEPENDENCY String
</log_level_set>

Response Body

Server response indicating if the operation succeeds.