change the log level to info if upgrade is successful
This commit is contained in:
parent
79647e3372
commit
e9824a6808
|
@ -110,7 +110,7 @@ def update_key_type():
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
log.error("Error in processing certificate - ID: %s Error: %s \n" % (cert_id, str(e)))
|
log.error("Error in processing certificate - ID: %s Error: %s \n" % (cert_id, str(e)))
|
||||||
else:
|
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(
|
stmt = text(
|
||||||
"update certificates set key_type=:key_type where id=:id"
|
"update certificates set key_type=:key_type where id=:id"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue