1 2 3 4 5 6 7 8 9 10 11
# /etc/logrotate.d/fluentd /var/log/fluentd/*log { su fluentd fluentd weekly rotate 6 compress delaycompress missingok notifempty create 664 fluentd fluentd }