pointer logging