/etc/logrotate.d/redis-server - Ubuntu 16.04 LTS (Xenial Xerus)

This is the default example configuration of redis-server provided by Redis. This config file was generated by Redis running on Ubuntu 16.04.

It is located under: /etc/logrotate.d/redis-server

    /var/log/redis/redis-server*.log {
        weekly
        missingok
        rotate 12
        compress
        notifempty
}

    
  

Config Details

Location
/etc/logrotate.d/redis-server
Operating system
Ubuntu 16.04 LTS (Xenial Xerus)
Length
7 lines
MD5 checksum
f4b38d0bd720dea3edc8b96b8502447d

Usage

Download the raw file with wget or curl

Wget

wget -O redis-server.example http://exampleconfig.com/static/raw/redis/ubuntu16.04/etc/logrotate.d/redis-server

cURL

curl http://exampleconfig.com/static/raw/redis/ubuntu16.04/etc/logrotate.d/redis-server > redis-server.example