Sarina/fix openended logging

@dianakhuang @flowerhack