itamae/cookbooks/prometheus-exporters/files/etc/logrotate.d/node_exporter

14 lines
246 B
Plaintext

/var/log/node_exporter.log
{
rotate 4
weekly
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}