Added more logs for fragment lifecycle.