fix logging in prod