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
preguntada hace un año284 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas