fix logging port