Please check the manual page logrotate(8).