add log in adapter

Change-Id: I1588364879f79a73678a2dcb9dce911853d6495b