[Shobhit] adding logging