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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则