updates to collect logs

Change-Id: I962fe74099af97a1fa2041d27d94001438b1ebd5