Summary
          Update the log levels.
          Description
          Update the log levels for an application.
          Route
          PUT /applications/:name/loglevel
          Roles
          
            admin
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Required | Description | 
            
            
              
    | name | string | yes | The name for the selected application. | 
    | properties | object | yes | Contains the log levels for the application. | 
            
          
          
            Copied to Clipboard
            
            {
  "properties": {
    "transport": "syslog",
    "if": {
      "transport": "syslog"
    },
    "then": {
      "level": "warning"
    },
    "else": {
      "level": "warn"
    }
  }
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "properties": {
      "title": "properties",
      "type": "object",
      "properties": {
        "transport": {
          "type": "string",
          "enum": [
            "file",
            "console",
            "syslog"
          ]
        },
        "if": {
          "transport": {
            "const": "syslog"
          }
        },
        "then": {
          "level": {
            "$ref": "services-schema#/definitions/sys_log_level"
          }
        },
        "else": {
          "level": {
            "$ref": "services-schema#/definitions/log_level"
          }
        }
      }
    }
  },
  "required": [
    "properties"
  ],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Description | 
            
            
              
                | result | object | The result of updating the log levels for an application. | 
            
          
          
            Copied to Clipboard
            
            {
  "result": true
}