wrap open in logs