Use python logging.

Change-Id: I8fd032316ea0ff4f43d1d8a88e69919ec3c1319e