Add log for page state.