logger fixes