changed logging to record offset inside page