Merge "change log level"

This commit is contained in:
Zuul 2023-05-24 01:23:20 +00:00 committed by Gerrit Code Review
commit 94a04cf738

View File

@ -33,10 +33,10 @@ class CustomConfigController(wsgi.Controller):
@wsgi.wrap_check_policy @wsgi.wrap_check_policy
def set_config(self, req, body): def set_config(self, req, body):
LOG.info(req) LOG.debug(req)
if len(req.body) == 0: if len(req.body) == 0:
return {"code": -1, "msg": "invalid param"} return {"code": -1, "msg": "invalid param"}
LOG.info(body) LOG.debug(body)
id = body.get("id", None) id = body.get("id", None)
value = body.get("value", None) value = body.get("value", None)
if id is None or value is None: if id is None or value is None: