Debugging distributed applications can be tricky. Fortunately, iofogctl makes it easy to find out what each of our microservices are doing.
With the logs command, we can use iofogctl to inspect the output of each microservice's container:
iofogctl logs microservice NAMEIf we have issues getting logs, its a good idea to check the status of the respective microservice:
iofogctl get microservicesNAMESPACE
default
MICROSERVICE STATUS AGENT ROUTES VOLUMES PORTS
msvc-1 RUNNING agent-1 route-1 /tmp/msvc:/tmp
msvc-2 DELETING agent-2 /tmp/iofog:/data 5000:80