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