[V2T] Restore logging level for validation issues

Restore level error/warning for failed validation checks.

Change-Id: Idd11a5d106d17e8a11c27f95e4dec92d565a04fb
This commit is contained in:
Salvatore Orlando 2021-09-24 00:20:30 -07:00 committed by Salvatore Orlando
parent 87f5c1a0c5
commit 8347bd12bd
1 changed files with 2 additions and 2 deletions

View File

@ -70,14 +70,14 @@ n_warnings = 0
def log_error(msg):
global n_errors
LOG.info("ERROR: %s", msg)
LOG.error("ERROR: %s", msg)
all_errors.append(msg)
n_errors = n_errors + 1
def log_warning(msg):
global n_warnings
LOG.info("WARNING: %s", msg)
LOG.warning("WARNING: %s", msg)
all_warnings.append(msg)
n_warnings = n_warnings + 1