From daily root@ cronspam:
```
```
On one prometheus host:
```
elukey@prometheus1001:/etc/logrotate.d$ cat prometheus
/var/log/prometheus/*.log
{
rotate 4
daily
missingok
notifempty
delaycompress
compress
sharedscripts
postrotate
service rsyslog rotate >/dev/null 2>&1 || true
endscript
}
elukey@prometheus1001:/etc/logrotate.d$ cat prometheus.dpkg-dist
/var/log/prometheus/prometheus.log {
weekly
rotate 10
copytruncate
compress
delaycompress
notifempty
missingok
}
elukey@prometheus1001:/etc/logrotate.d$ cat prometheus-node-exporter
/var/log/prometheus/prometheus-node-exporter.log {
weekly
rotate 10
copytruncate
compress
delaycompress
notifempty
missingok
}
```
So the `.dpkg-dist` should not be a problem and we can delete them, but the `prometheus` and `prometheus-node-exporter` are trying to handle the same files.