View a markdown version of this page

配置运行日志 - 的托管集成 AWS IoT Device Management

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

配置运行日志

运行时日志配置控制单个托管事物的设备端日志记录行为。用于PutRuntimeLogConfiguration为特定的托管事物设置运行时日志配置:

aws iot-managed-integrations put-runtime-log-configuration \ --managed-thing-id "your-managed-thing-id" \ --runtime-log-configurations '{"LogLevel":"ERROR","UploadLog":true,"UploadPeriodMinutes":5}'

GetRuntimeLogConfiguration用于检索当前配置,或ResetRuntimeLogConfiguration将其重置为默认配置。