use the logging framework

Change-Id: I4c9a8b126b07f2378caa6582ef975901ab0789ff