rename error logging