/etc/logrotate.d/redis - CentOS Linux 6

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
}

    
  

Config Details

Location
/etc/logrotate.d/redis
Operating system
CentOS Linux 6
Length
9 lines
MD5 checksum
ab01fdf6b36b7b5b8faff81f99bfe639

Usage

Download the raw file with wget or curl

Wget

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

cURL

curl http://exampleconfig.com/static/raw/redis/centos6/etc/logrotate.d/redis > redis.example