changed the logger