I have a haproxy logrotate configuration file in /etc/logrotate.d/haproxy
that looks like this:
"var/log/haproxy.log" "/var/log/haproxy-status.log" {
daily
size 250M
rotate 1
create 644 root root
missingok
compress
notifyempty
copytruncate
}
which is not working. I have proved this by running logrotate -f /etc/logrotate.d/haproxy
which gives me skipping "/var/log/haproxy.log" because parent directory has insecure permissions
- I have a work in progress to fix this, my question is different.
However, my logs are still being rotated by something else. Where can I find what might be rotating those logs?