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
asked a year ago274 views
1 Answer
1
Accepted Answer

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
EXPERT
answered a year 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