prepare log margin for reflogs too