---
title: "PUT /runtime-log-configurations/{ManagedThingId}"
method: PUT
path: "/runtime-log-configurations/{ManagedThingId}"
---

# PUT /runtime-log-configurations/{ManagedThingId}

`PUT /runtime-log-configurations/{ManagedThingId}`

Set the runtime log configuration for a specific managed thing.

## Path parameters

- `ManagedThingId` string, required

## Request body

- object
  - `RuntimeLogConfigurations` object, required — The different configurations for runtime logs.
    - `LogLevel` 'DEBUG' | 'ERROR' | 'INFO' | 'WARN' — The different log levels available for configuration.
    - `LogFlushLevel` 'DEBUG' | 'ERROR' | 'INFO' | 'WARN' — The different log levels available for configuration.
    - `LocalStoreLocation` string — Configuration of where to store runtime logs in the device.
    - `LocalStoreFileRotationMaxFiles` integer — Configuration to set the maximum number of runtime log files that can be stored on the device before the oldest files are deleted or overwritten.
    - `LocalStoreFileRotationMaxBytes` integer — Configuration to set the maximum bytes of runtime logs that can be stored on the device before the oldest logs are deleted or overwritten.
    - `UploadLog` boolean — Configuration to enable or disable uploading of runtime logs to the cloud.
    - `UploadPeriodMinutes` integer — Configuration to set the time interval in minutes between each batch of runtime logs that the device uploads to the cloud.
    - `DeleteLocalStoreAfterUpload` boolean — Configuration to enable or disable deleting of runtime logs in the device once uploaded to the cloud.

## Response `200`

Success

## Other responses

- `480` — AccessDeniedException
- `481` — ValidationException
- `482` — InternalServerException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException

---

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