added instance lifecycle logging