SetLogLevel

Trigger this action to specify the minimum level of events that are captured in the system log.

Use the HTTP POST method with the resource /mgmt/actionqueue/default, specifying a request payload with the following format:
{
  "SetLogLevel": {
    "LogLevel": "level",
  }
}
LogLevel
String

Sets the event priority. The priority indicates that all events that are greater than or equal to this value are logged. Events use the following priority in descending order.

  • For emergency, use emerg or 0.
  • For alert, use alert or 1.
  • For critical, use critic or 2.
  • For error, use error or 3.
  • For warning, use warn or 4.
  • For notice, use notice or 5.
  • For information, use info or 6.
  • For debug, use debug or 7.

Example

To set the log level so that events of error and above are written to the log, post the following payload to https://yourhost:5554/mgmt/actionqueue/default:

{
  "SetLogLevel": {
    "LogLevel": "3",
  }
}