logrotate --help Usage: logrotate [OPTION...] <configfile> -d, --debug Don't do anything, just test (implies -v) -f, --force Force file rotation -m, --mail=command Command to send mail (instead of `/bin/mail') -s, --state=statefile Path of state file -v, --verbose Display messages during rotation --version Display version information
Help options: -?, --help Show this help message --usage Display brief usage message
rotating pattern: /data/logs/logstash/*.log /data/logs/logstash/*.err /data/logs/logstash/*.stdout after 1 days (7 rotations) empty log files are not rotated, old logs are removed considering log /data/logs/logstash/logstash.log log does not need rotating considering log /data/logs/logstash/*.err log /data/logs/logstash/*.err does not exist -- skipping considering log /data/logs/logstash/*.stdout log /data/logs/logstash/*.stdout does not exist -- skipping [root@10.10.235.228 logrotate.d]#