Duplicated logs entries on my clouwatch generated by Beanstalk Application

0

I have an EB application which I run Docker running on 64bit Amazon Linux/2.12.2 and a single instance of Docker. I do restart the containers and it generates a new log file for each docker instance and on cloudwatch I see all logs as being duplicated..

On the host instance, the one who runs the container, of my aws application, I see the old files and the new ones on /var/log/eb-docker/containers/eb-current-app/

-rw-r--r-- 1 root root    0 May 18 12:01 2db23dfc8d41-stdouterr.log
-rw-r--r-- 1 root root    0 May 15 20:01 2fe606dbd6c8-stdouterr.log
-rw-r--r-- 1 root root    0 May 13 22:01 40caccccbb32-stdouterr.log
-rw-r--r-- 1 root root    0 May 17 16:01 68d068a069a9-stdouterr.log
-rw-r--r-- 1 root root    0 May 13 20:01 7bd09d66e4cc-stdouterr.log
-rw-r--r-- 1 root root    0 May 13 10:01 7dfe28ba4c5c-stdouterr.log
-rw-r--r-- 1 root root    0 May 17 11:01 7e4a8f32ebd5-stdouterr.log
-rw-r--r-- 1 root root 1.8M May 18 20:58 898c4310b883-stdouterr.log
-rw-r--r-- 1 root root    0 May 18 17:01 d768990b0076-stdouterr.log
-rw-r--r-- 1 root root    0 May 17 12:01 e8921e2bb3a7-stdouterr.log
-rw-r--r-- 1 root root    0 May 17 09:01 e8f31d8d68f8-stdouterr.log
drwxr-xr-x 2 root root 4.0K May 18 20:01 rotated```

Is there any configuration I need to make to avoid the duplication?
preguntada hace un año60 visualizaciones
No hay respuestas

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