Closed
Description
There is a need to collect logs of virtual machines in Elasticsearch, but the logs are created with 0600 privileges.
[pid 2898957] open("/var/log/libvirt/qemu/instance-00053eff.log", O_WRONLY|O_CREAT|O_APPEND, 0600) = 48
[pid 2898957] open("/var/log/libvirt/qemu/instance-00053eff.log", O_RDONLY) = 52
This is a problem, we collect logs not from the root user. I searched the section on flexible logging in qemu.conf, but I couldn't find it. I started looking for this in source codes (src/qemu/), but it is difficult for me. Tell me where in the code you can change the setting of the permissions to log files.
Metadata
Metadata
Assignees
Labels
No labels