Greengrass doesn't rotate logs every hour

0

According to the documentation Greengrass Nucleus should rotate logs every hour (https://docs.aws.amazon.com/greengrass/v2/developerguide/log-manager-component.html). So I suppose no matter of the log size I should see a new file every hour. So the maximum delay of logs uploaded with LogManager would be 1 hour. I see some "random" rotations however. My configuration of Nucleus is default. Example of my rotations:

-rw-r--r-- 1 root root 31953 Jun 6 07:32 greengrass.log -rw-r--r-- 1 root root 212 May 30 22:40 greengrass_2022_05_30_22_0.log -rw-r--r-- 1 root root 212 Jun 2 12:12 greengrass_2022_06_02_12_0.log -rw-r--r-- 1 root root 736 Jun 2 14:21 greengrass_2022_06_02_14_0.log -rw-r--r-- 1 root root 126334 Jun 2 20:40 greengrass_2022_06_02_20_0.log -rw-r--r-- 1 root root 53873 Jun 3 12:30 greengrass_2022_06_03_12_0.log -rw-r--r-- 1 root root 467 Jun 3 17:54 greengrass_2022_06_03_17_0.log -rw-r--r-- 1 root root 13527 Jun 3 19:20 greengrass_2022_06_03_19_0.log -rw-r--r-- 1 root root 212 Jun 6 06:10 greengrass_2022_06_06_06_0.log

Could you clarify the 1 hour rotation rule?

vaso
질문됨 2년 전125회 조회
답변 없음

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

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

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