Removed setup_logrotate function