logstash/pkg/logrotate.conf
Victor Garcia 52a374af18 Adding delaycompress to logrotate
To avoid issues like:

/etc/cron.daily/logrotate:
gzip: stdin: file size changed while zipping

This change is harmless and will prevent errors like this one
2014-08-01 17:39:21 +00:00

9 lines
156 B
Text

/var/log/logstash/*.log {
daily
rotate 7
copytruncate
compress
delaycompress
missingok
notifempty
}