Added logging through lifetime function