corrected a typo in logrotate.sh and added apparent file size check.