This is the default example configuration of redis provided by Redis. This config file was generated by Redis running on CentOS 6.
It is located under: /etc/logrotate.d/redis
/var/log/redis/*.log {
weekly
rotate 10
copytruncate
delaycompress
compress
notifempty
missingok
}
Download the raw file with wget or curl
wget -O redis.example http://exampleconfig.com/static/raw/redis/centos6/etc/logrotate.d/redis
curl http://exampleconfig.com/static/raw/redis/centos6/etc/logrotate.d/redis > redis.example
Other config files you might find useful