logging quick fix