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