* add log margin data switch