added rotate_logs command