add log in adapter

Change-Id: I822917eb356c6be94beaa65b800b6a2464d5a295
Merge branch 'dev' of https://github.com/davidyuan1989/nova into dev