O'Reilly logo

TypeScript Microservices by Parth Ghiya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Logging best practices 

Once in post development, let's say any issue comes up. We would be completely lost as we are not dealing with a single server. We are dealing with multiple servers and the entire system is constantly moving. Whoa! We need a full proof strategy as we can't just wander here and there, checking each and every service's logs. We are completely clueless as to which microservice runs on which host and which microservice served the request. To open up log files across all containers, grepping the logs and then relating them to all requests is indeed a cumbersome process. If our environment has auto scalability enabled, then debugging an issue becomes exponentially complex as we actually have to find the instance of microservice ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required