Adding logging to a microservice

We can't use or debug a microservice if it doesn't record the actions that it carries out. In this section, we will start to use logging with our microservices to understand what is going on inside them. We will create a microservice that generates random values and attach a logger to a microservice to record the actions it carries out. Afterward, we will configure logging using environment variables.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.254.151