---
title: "Set Node Log Level of All Nodes"
url: "https://nov18-dev.movespot.fyi/apis/konnect-runtime-groups-configuration-0/versions/af18902c-58f1-49d7-8ec2-9987b4e0d1bd/operations/put-debug-cluster-log-level-log_level"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-runtime-groups-configuration-0/versions/af18902c-58f1-49d7-8ec2-9987b4e0d1bd.md

# Set Node Log Level of All Nodes

`PUT` `/runtime-groups/{runtimeGroupId}/core-entities/debug/cluster/log-level/{log_level}`

Operation ID: `put-debug-cluster-log-level-log_level`

Change the log level of all nodes in a cluster. See the [NGINX docs](http://nginx.org/en/docs/ngx_core_module.html#error_log) for a list of accepted values. It’s currently not possible to change the log level of DP and DB-less nodes. Currently, when a user dynamically changes the log level for the entire cluster, if a new node joins a cluster the new node will run at the previous log level, not at the log level that was previously set dynamically for the entire cluster.

## Path parameters

- `runtimeGroupId` (string, required) - The ID of your runtime group. This variable is available in the Konnect manager
- `log_level` (string, required) - Log levels are set in Kong’s configuration. Log levels increase in order of their severity

## Responses

- `200` - OK

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Konnect Runtime Groups Configuration
  version: 0.0.1
servers:
  - url: https://us.api.konghq.com/v2
    description: United-States Production region
  - url: https://eu.api.konghq.com/v2
    description: Europe Production region
  - url: https://au.api.konghq.com/v2
    description: Australia Production region
  - url: https://me.api.konghq.com/v2
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v2
    description: India Production region
  - url: https://sg.api.konghq.com/v2
    description: Singapore Production region
paths:
  /runtime-groups/{runtimeGroupId}/core-entities/debug/cluster/log-level/{log_level}:
    parameters:
      - $ref: "#/components/parameters/runtimeGroupId"
      - $ref: "#/components/parameters/log_level"
    put:
      operationId: put-debug-cluster-log-level-log_level
      summary: Set Node Log Level of All Nodes
      description: >
        Change the log level of all nodes in a cluster.




        See the [NGINX
        docs](http://nginx.org/en/docs/ngx_core_module.html#error_log) for a
        list of accepted values.


        It’s currently not possible to change the log level of DP and DB-less
        nodes.


        Currently, when a user dynamically changes the log level for the entire
        cluster, if a new node joins a cluster the new node will run at the
        previous log level, not at the log level that was previously set
        dynamically for the entire cluster.
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    description: A message containing information about the log level
                    type: string
                    example: log level changed
                x-examples:
                  Example 1:
                    message: log level changed
              examples:
                log level changed:
                  value:
                    message: log level changed
      tags:
        - Debug
security:
  - konnectAccessToken: []
  - personalAccessToken: []
components:
  parameters:
    runtimeGroupId:
      name: runtimeGroupId
      in: path
      required: true
      schema:
        type: string
        example: 9524ec7d-36d9-465d-a8c5-83a3c9390458
      description: The ID of your runtime group. This variable is available in the
        Konnect manager
    log_level:
      name: log_level
      in: path
      required: true
      schema:
        type: string
        example: warn
        enum:
          - info
          - notice
          - warn
          - error
          - crit
      description: Log levels are set in Kong’s configuration. Log levels increase in
        order of their severity
  securitySchemes:
    konnectAccessToken:
      type: http
      scheme: bearer
      description: >-
        The Konnect access token is meant to be used by the Konnect dashboard
        and the decK CLI to

        authenticate with.
    personalAccessToken:
      type: http
      scheme: bearer
      description: The personal access token is meant to be used as an alternative to
        basic-auth when accessing Konnect via APIs. You can generate a Personal
        Access Token (PAT) from the personal access token page in the Konnect
        dashboard.
```
