TEMP - fix rewrite logging 3