Greengrass V2 | Stream Manager Aborts File Upload if File Size Changes

0

I'm uploading log files from my Greengrass device to S3 buckets using the aws.greengrass.StreamManager=2.1.2 component.
Then I realized that one of my log file's upload job was aborted according to this log in the aws.greengrass.StreamManager.log due to the file size has changed. Enter image description here

I'm not able to disable logging to that log file while it is being uploaded, thus have little control over the changing file size. Is there a way to prevent the job from being aborted?

ictwist
質問済み 1年前289ビュー
1回答
1
承認された回答

Stream manager is not made to upload log files (or any file that changes). The file should be completely static when you attempt to upload it.

To upload logs, use LogManager: https://docs.aws.amazon.com/greengrass/v2/developerguide/log-manager-component.html

Cheers,

Michael

AWS
エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ