fix logging test