add trace logging to cursor page in