TEMP - fix rewrite logging 2