log7 rotation and wrap