Update fix logging problem