Log errors as errors and not normal messages (#11251)

Change-Id: I3686da461ea5b64b5051c2c3b24feb58814c929d