Added logging

Change-Id: I35cd924a3424043c7a1553c5c8a3dcec4d344a5e