Cleanup logging

Change inappropriate usages of LOG.error and LOG.warning.

Change-Id: I7964aaabc5533e6f438c56bde6817ba6a939b283