fix logging in the pinpoint