[code] logger fixes