How do I debug what microservice is unhealthy in the JFrog platform

How do I debug what microservice is unhealthy in the JFrog platform

AuthorFullName__c
Matthew Wang
articleNumber
000005022
ft:sourceType
Salesforce
FirstPublishedDate
2021-06-29T19:45:40Z
lastModifiedDate
2021-03-18
VersionNumber
5

-Run the below API which will have the router micro service return the status of the other microservices in the platform:
curl -s http://localhost:8046/router/api/v1/topology/health

Unhealthy Response:
503 SERVICE UNAVAILABLE
Content-Type: application/json
{
  "router": {
    "node_id": "dsf76s-f87df86sdf-kjhsdg329",
    "state": "HEALTHY",
    "message": "OK"
  },
  "services": [
    {
      "service_id": "jfrt@01ddqsvzvsyt1c1ntks8qt0na4",
      "node_id": "ba8b710356ee6a97:-7197168a:16b73594a99:-8000",
      "state": "UNHEALTHY_PEER",
      "message": "Service is healthy; there is at least one unhealthy service"
    },{
      "service_id": "jfnd@c623d3fd4dbc28183de7c92aa11091be6d94cf97",
      "node_id": "nodeId1234",
      "state": "UNHEALTHY",
      "message": "Get http://localhost:3000/health: dial tcp 127.0.0.1:3000: connect: connection refused"
    },




Then, you can enable debug logging for the respective micro service.
https://www.jfrog.com/confluence/display/JFROG/Logging

-You can also enable debug logging for the router in the system.yaml:

router:
    logging:
        ## Router log settings
        application:
          ## The log level: error, warning, info, debug, trace
          ## This value is configurable during runtime
            level: "info"