diff --git a/src/api-service/__app__/agent_registration/__init__.py b/src/api-service/__app__/agent_registration/__init__.py index ed4803c994..d5cffd6bb5 100644 --- a/src/api-service/__app__/agent_registration/__init__.py +++ b/src/api-service/__app__/agent_registration/__init__.py @@ -81,9 +81,11 @@ def get(req: func.HttpRequest) -> func.HttpResponse: def post(req: func.HttpRequest) -> func.HttpResponse: registration_request = parse_uri(AgentRegistrationPost, req) - logging.info("Registration request: %s", (registration_request)) if isinstance(registration_request, Error): return not_ok(registration_request, context="agent registration") + logging.info( + "registration request: %s", registration_request.json(exclude_none=True) + ) pool = Pool.get_by_name(registration_request.pool_name) if isinstance(pool, Error): diff --git a/src/api-service/__app__/onefuzzlib/workers/scalesets.py b/src/api-service/__app__/onefuzzlib/workers/scalesets.py index f05b42f697..9db04ac765 100644 --- a/src/api-service/__app__/onefuzzlib/workers/scalesets.py +++ b/src/api-service/__app__/onefuzzlib/workers/scalesets.py @@ -519,7 +519,7 @@ def delete_nodes(self, nodes: List[Node]) -> None: machine_ids.append(node.machine_id) logging.info( - SCALESET_LOG_PREFIX + "deleting scaleset_id:%s machine_id:%s", + SCALESET_LOG_PREFIX + "deleting nodes scaleset_id:%s machine_id:%s", self.scaleset_id, machine_ids, )