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?
질문됨 일 년 전60회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠