Greengrass V2 | 如果文件大小改变,如何防止流管理器将终止文件上传?

0

【以下的问题经过翻译处理】 我正在使用 aws.greengrass.StreamManager=2.1.2 组件将我的Greengrass设备的日志文件上传到S3存储桶。

后来我意识到,根据 aws.greengrass.StreamManager.log 中的日志,我的其中一个日志文件的上传作业被中止,原因是文件大小已更改。 Enter image description here

我无法在上传该日志文件时禁用日志记录,因此对于文件大小变化无法进行有效控制。有没有办法防止作业被中止?

profile picture
EXPERT
asked 6 months ago13 views
1 Answer
0

【以下的回答经过翻译处理】 流管理器不适用于上传日志文件(或任何会发生变化的文件)。在尝试上传时,文件应该完全静态。

要上传日志,请使用LogManager:https://docs.aws.amazon.com/greengrass/v2/developerguide/log-manager-component.html

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions