split error logging