log errors as ERROR