| # rotate log files daily | |
| daily | |
| # keep 3 days worth | |
| rotate 3 | |
| # create new (empty) log files after rotating old ones | |
| create | |
| # use date as a suffix of the rotated file | |
| #dateext | |
| # max size 50M | |
| size 50M | |
| compress | |
| # RPM packages drop log rotation information into this directory | |
| include /etc/logrotate.d |