Customizing log file permissions in Edge Microgateway

Hi,

We are running edge microgateway as a docker container in Linux VMs.

Log files are getting created inside container and we are doing volume mount for log folder into host machine so that all the logs will be copied to host machine.

This is done so that other logging agents like ELK can read those files. Currently we see file permission for log files is set as 600. There is no read permission given for group.

-rw------- 1 edgemicro-43bf9820fe95-b64c78c0-01b7-11eb-8c4d-93fcf39e2d05-1-api.log
-rw------- 1 edgemicro-43bf9820fe95-b64c78c0-01b7-11eb-8c4d-93fcf39e2d05-2-api.log

Can we change the permissions for these logs files to add read permission for group?

0 2 299
2 REPLIES 2

Has anyone faced this issue and how can we fix this?

Not applicable

Edge Microgateway can be deployed as a service or as a sidecar gateway in front og your services deployed in kubernetes cluster. Developers faces challenges in exposing their microservices and rely on API Management providers for exposing,securing and managing their apis.