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 將其重設為預設值。