fix logging settings