Implement logging

Change-Id: I25b92de9a9590ae57c8204e99171a4e0fdc66b00
Merge "Implement logging"