logger fix for args
@@ -125,7 +125,7 @@ async def create_audit_entry(request):
except AttributeError as e:
# Return error for wrong severity method
err_msg = "severity type {} is not supported".format(severity)
- _logger.error("Error in create_audit_entry(): %s | %s" + err_msg + str(e))
+ _logger.error("Error in create_audit_entry(): %s | %s", err_msg, str(e))
raise web.HTTPNotFound(reason={"error": err_msg})
except Exception as ex:
raise web.HTTPException(reason={"error:": str(ex)})
