Reworked logging in Imagerecorder