Add reference counting and allocation message to logger. Will I ever use this?