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
demandé il y a un an284 vues
1 réponse
1
Réponse acceptée

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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions