logrotate app script