Hi Team
We are trying to capture the edge-message-processor/logs/system.logsystem.log into Datadog. But there was an issue we are facing on capturing the log continuously.
Issue: /opt/apigee/var/log/edge-message-processor/logs/system.log have setup with log rotation. once system.log was filled and zipped as gz file like (system-2024-02-14.1.log.gz) once zipped new system.log is created automatically. while creating the new system.log it’s created without read permission with other users like below
-rw-r----- 1 apigee apigee 21058892 Feb 14 08:09 system.log.
Datadog agent is running with DD-agent user. We need to provide the read permission for other in the system.log.
I am able to find some logrotate setup has made on logback.xml /opt/apigee/edge-message-processor/source/conf/logback.xml.
Question: Where i need to make the changes in logback xml file to provide the read access for system.log file.