---
title: "GET /v2LoggingLevel"
method: GET
path: "/v2LoggingLevel"
---

# GET /v2LoggingLevel

`GET /v2LoggingLevel`

Lists logging levels.

Requires permission to access the [ListV2LoggingLevels](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.

## Query parameters

- `targetType` 'DEFAULT' | 'THING_GROUP' | 'CLIENT_ID' | 'SOURCE_IP' | 'PRINCIPAL_ID'
- `nextToken` string
- `maxResults` integer

## Response `200`

Success

- ListV2LoggingLevelsResponse
  - `logTargetConfigurations` LogTargetConfiguration[] — The logging configuration for a target.
    - `logTarget` object — A log target
      - `targetType` 'DEFAULT' | 'THING_GROUP' | 'CLIENT_ID' | 'SOURCE_IP' | 'PRINCIPAL_ID', required — The target type.
      - `targetName` string — The target name.
    - `logLevel` 'DEBUG' | 'INFO' | 'ERROR' | 'WARN' | 'DISABLED' — The logging level.
  - `nextToken` string — The token to use to get the next set of results, or <b>null</b> if there are no additional results.

## Other responses

- `480` — InternalException
- `481` — NotConfiguredException
- `482` — InvalidRequestException
- `483` — ServiceUnavailableException

---

[API](https://skmtc.net/aws/apis/iot.md) · [All operations](https://skmtc.net/aws/apis/iot/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/iot/revisions/deef5c4b09f0/schema)
