fix usage of logw

Change-Id: I78733c85295ba418ea62b889908e2f24588b167a