change the log level to info if upgrade is successful

This commit is contained in:
Emmanuel Garette 2020-10-27 20:38:00 +01:00
parent 79647e3372
commit e9824a6808
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def update_key_type():
except ValueError as e:
log.error("Error in processing certificate - ID: %s Error: %s \n" % (cert_id, str(e)))
else:
log.error("Processing certificate - ID: %s key_type: %s\n" % (cert_id, cert_key_type))
log.info("Processing certificate - ID: %s key_type: %s\n" % (cert_id, cert_key_type))
stmt = text(
"update certificates set key_type=:key_type where id=:id"
)